[lxl@hadoop102 software]$ tar -zxvf flink-1.6.1-bin-hadoop27-scala_2.11.tgz -C /opt/module/
[lxl@hadoop102 conf]$ vi flink-conf.yaml
[lxl@hadoop102 conf]$ vi slaves
[lxl@hadoop102 conf]$ cat slaves hadoop103 hadoop104
[lxl@hadoop102 module]$ xsync flink
[lxl@hadoop102 flink]$ bin/start-cluster.sh
[lxl@hadoop102 flink]$ jps 3041 Jps 2985 StandaloneSessionClusterEntrypoint [lxl@hadoop103 ~]$ jps 2759 Jps 2682 TaskManagerRunner [lxl@hadoop104 ~]$ jps 2758 Jps 2680 TaskManagerRunner
/opt/modules/flink/bin/yarn-session.sh -n 2 -s 6 -jm 1024 -tm 1024 -nm test -d
[lxl@hadoop103 ~]$ jps 4034 NodeManager 2838 DataNode 4506 Jps 2682 TaskManagerRunner 4458 YarnSessionClusterEntrypoint 3916 ResourceManager
/opt/modules/flink/bin/flink run -m yarn-cluster examples/batch/WordCount.jar