Details
-
Improvement
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
1.9.3, 1.10.1
Description
When running
flink run -m yarn-cluster -yjm 1768 -ytm 50072 -ys 32 ...
without some export HADOOP_CLASSPATH, we get the unhelpful message
Could not build the program from JAR file: JAR file does not exist: -yjm
I'd expect something like
yarn-cluster can only be used with exported HADOOP_CLASSPATH, see <url> for more information
I suggest to load a stub for YarnCluster deployment if the actual implementation fails to load, which prints this error when used.