我的提交命令
./bin/flink run -d -m yarn-cluster 报错如下 The program finished with the following exception: java.lang.IllegalStateException: No Executor found. Please make sure to export the HADOOP_CLASSPATH environment variable or have hadoop in your classpath. For more information refer to the "Deployment" section of the official Apache Flink documentation. at org.apache.flink.yarn.cli.FallbackYarnSessionCli.isActive(FallbackYarnSessionCli.java:41) at org.apache.flink.client.cli.CliFrontend.validateAndGetActiveCommandLine(CliFrontend.java:1236) at org.apache.flink.client.cli.CliFrontend.run(CliFrontend.java:234) at org.apache.flink.client.cli.CliFrontend.parseAndRun(CliFrontend.java:1054) at org.apache.flink.client.cli.CliFrontend.lambda$main$10(CliFrontend.java:1132) at org.apache.flink.runtime.security.contexts.NoOpSecurityContext.runSecured(NoOpSecurityContext.java:28) at org.apache.flink.client.cli.CliFrontend.main(CliFrontend.java:1132) 运行命令 hadoop classpath xxxx@192 flink-1.12.2 % hadoop classpath /Users/xxxx/local/hadoop/hadoop-3.2.2/etc/hadoop:/Users/xxxx/local/hadoop/hadoop-3.2.2/share/hadoop/common/lib/*:/Users/xxxx/local/hadoop/hadoop-3.2.2/share/hadoop/common/*:/Users/xxxx/local/hadoop/hadoop-3.2.2/share/hadoop/hdfs:/Users/xxxx/local/hadoop/hadoop-3.2.2/share/hadoop/hdfs/lib/*:/Users/xxxx/local/hadoop/hadoop-3.2.2/share/hadoop/hdfs/*:/Users/xxxx/local/hadoop/hadoop-3.2.2/share/hadoop/mapreduce/lib/*:/Users/xxxx/local/hadoop/hadoop-3.2.2/share/hadoop/mapreduce/*:/Users/xxxx/local/hadoop/hadoop-3.2.2/share/hadoop/yarn:/Users/xxxx/local/hadoop/hadoop-3.2.2/share/hadoop/yarn/lib/*:/Users/xxxx/local/hadoop/hadoop-3.2.2/share/hadoop/yarn/*:/Users/xxxx/local/hadoop/hadoop-3.2.2 反复配置HADOOP_CLASSPATH 无法生效 官网给出的 export HADOOP_CLASSPATH=`hadoop classpath` 这个 hadoop classpath 具体配置到哪一级