Flink常用指令及端口

    科技2022-09-05  141

    启动flink

    ./start-cluster.sh 关闭flink bin/stop-cluster.sh 查看当前运行的任务 bin/flink list 查看所有的任务 bin/flink list --all 停止当前任务 bin/flink cancel 471ede242bd2fa22d32ed147a025e5d2 提交任务 bin/flink run -c com.offcn.wordCount.wordCountJava /root/flinkJar/FlinkDeno-1.0-SNAPSHOT-jar-with-dependencies.jar /opt/module/flink-1.7.0/flink/data/wordcount.txt /opt/module/flink-1.7.0/flink/wordcount

    =启动的jps进程=

    StandaloneSessionClusterEntrypoint TaskManagerRunner

    web端口: 监控端口:http://hadoop101:8081/

    Processed: 0.013, SQL: 9