Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
flink_warehouse_rt
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
data
flink_warehouse_rt
Commits
6e91cec6
Commit
6e91cec6
authored
Jan 09, 2020
by
刘喆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add checkpointPath
parent
2d7a72ef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
PreciseExposureStreaming.java
...ain/java/com/gmei/streaming/PreciseExposureStreaming.java
+5
-3
No files found.
ml_c_et_pe_preciseexposure_dimem_d_rt/src/main/java/com/gmei/streaming/PreciseExposureStreaming.java
View file @
6e91cec6
...
@@ -74,7 +74,7 @@ public class PreciseExposureStreaming {
...
@@ -74,7 +74,7 @@ public class PreciseExposureStreaming {
windowSize
=
parameterTool
.
getInt
(
"windowSize"
,
30
);
windowSize
=
parameterTool
.
getInt
(
"windowSize"
,
30
);
parallelism
=
parameterTool
.
getInt
(
"parallelism"
,
1
);
parallelism
=
parameterTool
.
getInt
(
"parallelism"
,
1
);
startTime
=
parameterTool
.
get
(
"startTime"
,
null
);
startTime
=
parameterTool
.
get
(
"startTime"
,
null
);
checkpointPath
=
parameterTool
.
getRequired
(
"
/user/data/flink/{程序名}/checkpoint
"
);
checkpointPath
=
parameterTool
.
getRequired
(
"
checkpointPath
"
);
printUsage
(
parameterTool
);
printUsage
(
parameterTool
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
e
.
printStackTrace
();
...
@@ -189,7 +189,8 @@ public class PreciseExposureStreaming {
...
@@ -189,7 +189,8 @@ public class PreciseExposureStreaming {
" --sinkJdbcUrl <target database url> \n"
+
" --sinkJdbcUrl <target database url> \n"
+
" --sinkTableName <target table name> \n"
+
" --sinkTableName <target table name> \n"
+
" --parallelism <parallelism, default 1> \n"
+
" --parallelism <parallelism, default 1> \n"
+
" --startTime <startTime, default 1> \n"
" --startTime <kafka startTime, default null> \n"
+
" --checkpointPath <checkpointPath, hdfs> \n"
);
);
}
}
...
@@ -215,7 +216,8 @@ public class PreciseExposureStreaming {
...
@@ -215,7 +216,8 @@ public class PreciseExposureStreaming {
" --sinkJdbcUrl "
+
parameterTool
.
getRequired
(
"sinkJdbcUrl"
)
+
" \n"
+
" --sinkJdbcUrl "
+
parameterTool
.
getRequired
(
"sinkJdbcUrl"
)
+
" \n"
+
" --sinkTableName "
+
parameterTool
.
getRequired
(
"sinkTableName"
)
+
" \n"
+
" --sinkTableName "
+
parameterTool
.
getRequired
(
"sinkTableName"
)
+
" \n"
+
" --parallelism "
+
parameterTool
.
getInt
(
"parallelism"
,
1
)
+
" \n"
+
" --parallelism "
+
parameterTool
.
getInt
(
"parallelism"
,
1
)
+
" \n"
+
" --startTime "
+
parameterTool
.
get
(
"startTime"
,
null
)
+
" \n"
" --startTime "
+
parameterTool
.
get
(
"startTime"
,
null
)
+
" \n"
+
" --checkpointPath "
+
parameterTool
.
getRequired
(
"checkpointPath"
)
+
" \n"
);
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment