[root@centos6 bin]# ./start-cluster.sh
Starting cluster.
Starting standalonesession daemon on host centos6.
Starting taskexecutor daemon on host centos6.
[root@centos6 flink-1.12.0]# bin/flink run examples/streaming/SocketWindowWordCount.jar --hostname localhost --port 9000
nc -l 9000
[root@centos6 log]# ls -ltr *taskexecutor*
-rw-r--r-- 1 root root 0 3月 27 08:16 flink-root-taskexecutor-0-centos6.out
-rw-r--r-- 1 root root 16252 3月 27 08:16 flink-root-taskexecutor-0-centos6.log
-rw-r--r-- 1 root root 0 5月 10 05:06 flink-root-taskexecutor-1-centos6.out
-rw-r--r-- 1 root root 16253 5月 10 05:06 flink-root-taskexecutor-1-centos6.log
-rw-r--r-- 1 root root 0 5月 10 19:41 flink-root-taskexecutor-2-centos6.out
-rw-r--r-- 1 root root 16611 5月 10 19:41 flink-root-taskexecutor-2-centos6.log
[root@centos6 log]#
[root@centos6 bin]# ./start-cluster.sh
Starting cluster.
Starting standalonesession daemon on host centos6.
Starting taskexecutor daemon on host centos6.
[root@centos6 ~]# java -version
java version "1.8.0_301"
Java(TM) SE Runtime Environment (build 1.8.0_301-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.301-b09, mixed mode)
[root@centos6 ~]# nc -l 9000
aa
bb
aa
vv
aa bb cc dd
11 22 33 11 22 55
33 : 1
22 : 2
55 : 1
11 : 2