Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
ctr-estimate
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
赵建伟
ctr-estimate
Commits
59dc4302
Commit
59dc4302
authored
Apr 11, 2020
by
赵建伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update codes
parent
ee99a59a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
42 deletions
+26
-42
start_clk_crt.sh
bin/start_clk_crt.sh
+7
-11
start_pfr_crt.sh
bin/start_pfr_crt.sh
+6
-10
start_pfr_rct.sh
bin/start_pfr_rct.sh
+6
-10
start_tag_crt.sh
bin/start_tag_crt.sh
+7
-11
No files found.
bin/start_clk_crt.sh
View file @
59dc4302
...
...
@@ -7,30 +7,26 @@ export JAVA_OPTS="-Xms1024m -Xmx8192m -XX:-UseGCOverheadLimit -XX:+UseConcMarkSw
nohup
$FLINK_HOME
/bin/flink run
\
-m
yarn-cluster
\
-ynm
ctr-estimate-clk
\
-ynm
ctr-estimate-clk
-crt
\
-yqu
hadoop
\
-yn
2
\
-ys
2
\
-p
6
\
-yjm
1024
\
-ytm
2048
\
-c
com.gmei.data.ctr.main.ProdCtr
EstimateMainClk
\
-c
com.gmei.data.ctr.main.ProdCtr
ClkCrtMain
\
$JAR_DIR
/ctr-estimate-1.0-SNAPSHOT.jar
\
--inBrokers
'172.16.44.25:9092,172.16.44.31:9092,172.16.44.45:9092'
\
--batchSize
1000
\
--maidianInTopic
'gm-maidian-data'
\
--maidianInGroupId
'
test-ctr-estimate-clk
'
\
--maidianInGroupId
'
ctr-estimate-clk-crt
'
\
--windowSize
5
\
--slideSize
5
\
--outJdbcUrl
'jdbc:mysql://172.16.40.170:4000/jerry_test?user=data_user&password=YPEzp78HQBuhByWPpefQu6X3D6hEPfD6&autoReconnect=true&useSSL=false'
\
--maxRetry
3
\
--retryInteral
3000
\
--checkpointPath
'hdfs://bj-gmei-hdfs/user/data/flink/ctr-estimate-clk/checkpoint'
\
--checkpointPath
'hdfs://bj-gmei-hdfs/user/data/flink/ctr-estimate-clk
-crt
/checkpoint'
\
--parallelism
6
\
--startTime
'2020-04-05 00:00:00'
\
>>
/data/log/ctr-estimate/ctr-estimate-clk.out 2>&1 &
>>
/data/log/ctr-estimate/ctr-estimate-clk-crt.out 2>&1 &
tail
-f
/data/log/ctr-estimate/ctr-estimate-clk.out
#--jdbcUrl 'jdbc:mysql://172.16.40.170:4000/jerry_test?user=data_user&password=YPEzp78HQBuhByWPpefQu6X3D6hEPfD6&autoReconnect=true&useSSL=false' \
\ No newline at end of file
tail
-f
/data/log/ctr-estimate/ctr-estimate-clk-crt.out
\ No newline at end of file
bin/start_pfr_crt.sh
View file @
59dc4302
...
...
@@ -7,7 +7,7 @@ export JAVA_OPTS="-Xms1024m -Xmx8192m -XX:-UseGCOverheadLimit -XX:+UseConcMarkSw
nohup
$FLINK_HOME
/bin/flink run
\
-m
yarn-cluster
\
-ynm
ctr-estimate-
tag
\
-ynm
ctr-estimate-
pfr-crt
\
-yqu
hadoop
\
-yn
2
\
-ys
2
\
...
...
@@ -19,16 +19,12 @@ $JAR_DIR/ctr-estimate-1.0-SNAPSHOT.jar \
--inBrokers
'172.16.44.25:9092,172.16.44.31:9092,172.16.44.45:9092'
\
--batchSize
1000
\
--maidianInTopic
'gm-maidian-data'
\
--maidianInGroupId
'
test-ctr-estimate-tag
'
\
--maidianInGroupId
'
ctr-estimate-pfr-crt
'
\
--outJdbcUrl
'jdbc:mysql://172.16.40.170:4000/jerry_test?user=data_user&password=YPEzp78HQBuhByWPpefQu6X3D6hEPfD6&autoReconnect=true&useSSL=false'
\
--maxRetry
3
\
--retryInteral
3000
\
--checkpointPath
'hdfs://bj-gmei-hdfs/user/data/flink/ctr-estimate-
tag
/checkpoint'
\
--checkpointPath
'hdfs://bj-gmei-hdfs/user/data/flink/ctr-estimate-
pfr-crt
/checkpoint'
\
--parallelism
6
\
--startTime
'2020-04-05 00:00:00'
\
>>
/data/log/ctr-estimate/ctr-estimate-tag.out 2>&1 &
>>
/data/log/ctr-estimate/ctr-estimate-pfr-crt.out 2>&1 &
tail
-f
/data/log/ctr-estimate/ctr-estimate-tag.out
#--jdbcUrl 'jdbc:mysql://172.16.40.170:4000/jerry_test?user=data_user&password=YPEzp78HQBuhByWPpefQu6X3D6hEPfD6&autoReconnect=true&useSSL=false' \
\ No newline at end of file
tail
-f
/data/log/ctr-estimate/ctr-estimate-pfr-crt.out
\ No newline at end of file
bin/start_pfr_rct.sh
View file @
59dc4302
...
...
@@ -7,7 +7,7 @@ export JAVA_OPTS="-Xms1024m -Xmx8192m -XX:-UseGCOverheadLimit -XX:+UseConcMarkSw
nohup
$FLINK_HOME
/bin/flink run
\
-m
yarn-cluster
\
-ynm
ctr-estimate-
tag
\
-ynm
ctr-estimate-
pfr-rct
\
-yqu
hadoop
\
-yn
2
\
-ys
2
\
...
...
@@ -19,16 +19,12 @@ $JAR_DIR/ctr-estimate-1.0-SNAPSHOT.jar \
--inBrokers
'172.16.44.25:9092,172.16.44.31:9092,172.16.44.45:9092'
\
--batchSize
1000
\
--maidianInTopic
'gm-maidian-data'
\
--maidianInGroupId
'
test-ctr-estimate-tag
'
\
--maidianInGroupId
'
ctr-estimate-pfr-rct
'
\
--outJdbcUrl
'jdbc:mysql://172.16.40.170:4000/jerry_test?user=data_user&password=YPEzp78HQBuhByWPpefQu6X3D6hEPfD6&autoReconnect=true&useSSL=false'
\
--maxRetry
3
\
--retryInteral
3000
\
--checkpointPath
'hdfs://bj-gmei-hdfs/user/data/flink/ctr-estimate-
tag
/checkpoint'
\
--checkpointPath
'hdfs://bj-gmei-hdfs/user/data/flink/ctr-estimate-
pfr-rct
/checkpoint'
\
--parallelism
6
\
--startTime
'2020-04-05 00:00:00'
\
>>
/data/log/ctr-estimate/ctr-estimate-tag.out 2>&1 &
>>
/data/log/ctr-estimate/ctr-estimate-pfr-rct.out 2>&1 &
tail
-f
/data/log/ctr-estimate/ctr-estimate-tag.out
#--jdbcUrl 'jdbc:mysql://172.16.40.170:4000/jerry_test?user=data_user&password=YPEzp78HQBuhByWPpefQu6X3D6hEPfD6&autoReconnect=true&useSSL=false' \
\ No newline at end of file
tail
-f
/data/log/ctr-estimate/ctr-estimate-pfr-rct.out
\ No newline at end of file
bin/start_tag_crt.sh
View file @
59dc4302
...
...
@@ -7,30 +7,26 @@ export JAVA_OPTS="-Xms1024m -Xmx8192m -XX:-UseGCOverheadLimit -XX:+UseConcMarkSw
nohup
$FLINK_HOME
/bin/flink run
\
-m
yarn-cluster
\
-ynm
ctr-estimate-tag
\
-ynm
ctr-estimate-tag
-crt
\
-yqu
hadoop
\
-yn
2
\
-ys
2
\
-p
6
\
-yjm
1024
\
-ytm
2048
\
-c
com.gmei.data.ctr.main.ProdCtr
EstimateMainTag
\
-c
com.gmei.data.ctr.main.ProdCtr
TagCrtMain
\
$JAR_DIR
/ctr-estimate-1.0-SNAPSHOT.jar
\
--inBrokers
'172.16.44.25:9092,172.16.44.31:9092,172.16.44.45:9092'
\
--batchSize
1000
\
--maidianInTopic
'gm-maidian-data'
\
--maidianInGroupId
'
test-ctr-estimate-tag
'
\
--maidianInGroupId
'
ctr-estimate-tag-crt
'
\
--windowSize
5
\
--slideSize
5
\
--outJdbcUrl
'jdbc:mysql://172.16.40.170:4000/jerry_test?user=data_user&password=YPEzp78HQBuhByWPpefQu6X3D6hEPfD6&autoReconnect=true&useSSL=false'
\
--maxRetry
3
\
--retryInteral
3000
\
--checkpointPath
'hdfs://bj-gmei-hdfs/user/data/flink/ctr-estimate-tag/checkpoint'
\
--checkpointPath
'hdfs://bj-gmei-hdfs/user/data/flink/ctr-estimate-tag
-crt
/checkpoint'
\
--parallelism
6
\
--startTime
'2020-04-05 00:00:00'
\
>>
/data/log/ctr-estimate/ctr-estimate-tag.out 2>&1 &
>>
/data/log/ctr-estimate/ctr-estimate-tag-crt.out 2>&1 &
tail
-f
/data/log/ctr-estimate/ctr-estimate-tag.out
#--jdbcUrl 'jdbc:mysql://172.16.40.170:4000/jerry_test?user=data_user&password=YPEzp78HQBuhByWPpefQu6X3D6hEPfD6&autoReconnect=true&useSSL=false' \
\ No newline at end of file
tail
-f
/data/log/ctr-estimate/ctr-estimate-tag-crt.out
\ No newline at end of file
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