1、配置
2、测试:
./bin/flink run-application -t yarn-application -Dyarn.application.name=wordcount -c org.apache.flink.streaming.examples.wordcount.WordCount ./examples/streaming/WordCount.jar --input hdfs://jy/tmp/input --output hdfs://jy/tmp/output
1、配置
2、测试:
./bin/flink run-application -t yarn-application -Dyarn.application.name=wordcount -c org.apache.flink.streaming.examples.wordcount.WordCount ./examples/streaming/WordCount.jar --input hdfs://jy/tmp/input --output hdfs://jy/tmp/output