Flink : Flink run yarn 报错 could not build the program from jar file

1.美图

2.背景

因为升级flink 1.9 到flink 1.10 然后最后一步,执行脚本

su -hdfs -c "export HADOOP_CONF_DIR=xxx && export HADOOP_CLASSPATH=`hadoop classpath ` && /soft/flink/bin/flink run -m yarn-cluster -ynm xxx -yn 3 -yjm 1024m -ytm 2048m -ys 3 -yd -yst 你的.jar 你jar需要的参数 "

但是执行报错

Could not build the program from JAR file.

Use the help option (

你可能感兴趣的:(大数据-flink)