1.下载
[email protected] flink$ ll
[email protected] 13 lcc staff 416 1 30 2017 flink-1.2.0/
[email protected] 1 lcc staff 119174638 8 8 18:03 flink-1.2.0-bin-hadoop2-scala_2.11.tgz
注意hadoop的版本兼容问题,我本地为hadoop-2.7
2. 默认无需配置也可以运行
直接运行
[email protected] flink-1.2.0$ bin/start-cluster.sh
Starting cluster.
Starting jobmanager daemon on host lcc.
Starting taskmanager daemon on host lcc.
[email protected] flink-1.2.0$
查看是否运行成功
[email protected] flink-1.2.0$ tail log/flink-lcc-jobmanager-0-lcc.log
- No metrics reporter configured, no metrics will be exposed/reported.
- Starting with JobManager akka.tcp://[email protected]:6123/user/