Flink 1.17 Tutorial: Cluster Role and Cluster Startup

cluster role

img

cluster start

If it is deployed locally and accessed locally, no configuration is required, and it can be started directly.

If it is deployed on the server and requires remote access, you need to flink.confmodify the localhost in the server IP address or0.0.0.0

node server hadoop102 hadoop103 hadoop104
Role JobManagerTaskManager TaskManager TaskManager
[atguigu@node001 module]$ cd flink
[atguigu@node001 flink]$ cd flink-1.17.0/
[atguigu@node001 flink-1.17.0]$ bin/start-cluster.sh
Starting cluster.
Starting standalonesession daemon on host node001.
Starting taskexecutor daemon on host node001.
Starting taskexecutor daemon on host node002.
Starting taskexecutor daemon on host node003.
[atguigu@node001 flink-1.17.0]$ jpsall 
================ node001 ================
3408 Jps
2938 StandaloneSessionClusterEntrypoint
3276 TaskManagerRunner
================ node002 ================
2852 TaskManagerRunner
2932 Jps
================ node003 ================
2864 TaskManagerRunner
2944 Jps
[atguigu@node001 flink-1.17.0]$ 

img

Guess you like

Origin blog.csdn.net/a772304419/article/details/132623729