1.解压
2.修改配置
vi flink-conf.yaml
jobmanager.rpc.address: bigdata
classloader.check-leaked-classloader: false
vi masters
bigdata:8081
vi workers
bigdata
3.启动验证
start-cluster.sh
18066 TaskManagerRunner
4.访问web页面
网络异常,图片无法展示
|
5.Flink on yarn
配置环境变量
环境变量增加
exportHADOOP_CLASSPATH=`${HADOOP_HOME}/bin/hadoop classpath`
测试提交任务到yarn
flink run -m yarn-cluster -yjm1024-ytm1024 ../examples/batch/WordCount.jar
6.wordCount测试成功
网络异常,图片无法展示
|