Flinkタスクコミットモード
3834 ワード
localモード
standalone
flink run -m artemis-02:6123 -c com.test.WordCount2 ./Flink.jar hdfs://artemis-02:9000/tmp/lvxw/tmp/logs/words hdfs://artemis-02:9000/tmp/lvxw/tmp/out
flink on yarn
yarn-client/bin/yarn-session.sh -n 2 -jm 1024 -tm 1024
yarn application -kill application_xxx_xxx ( yarn flink )
yarn-client/bin/flink run -m xxx:xxx -c com.test.WordCount2 ./Flink.jar hdfs://artemis-02:9000/tmp/lvxw/tmp/logs/words hdfs://artemis-02:9000/tmp/lvxw/tmp/out
/home/hadoop/soft/flink/bin/flink run -m yarn-cluster -yn 2 -yjm 1024 -ytm 1024 -c com.test.WordCount2 ./Flink.jar hdfs://artemis-02:9000/tmp/lvxw/tmp/logs/words hdfs://artemis-02:9000/tmp/lvxw/tmp/out