export HADOOP_CLASSPATH=`hadoop classpath`
如上方式应该是没有问题的,你确认下这些目录下面的jar包是存在的,尤其是/Users//local/hadoop/hadoop-3.2.2/share/hadoop/yarn/
Best,
Yang
龙逸尘 于2021年8月31日周二 上午11:02写道:
> Hi Wayne,
>
> 可以尝试下指定 HADOOP_CONF_DIR
> export HADOOP_CONF_DIR=/opt/flink/hadoop-conf/
>
> Wayne <1...@163.c
Hi Wayne,
可以尝试下指定 HADOOP_CONF_DIR
export HADOOP_CONF_DIR=/opt/flink/hadoop-conf/
Wayne <1...@163.com> 于2021年8月28日周六 下午8:37写道:
> 我的提交命令
>
>
> ./bin/flink run -d -m yarn-cluster
>
>
> 报错如下
> The program finished with the following exception:
>
>
> java.lang.IllegalStateException: No Execu
Hi!
不太明白“配置到哪一级”是什么含义。export 命令是将变量导出到目前的 shell session,在从 shell logout
之前都有效。如果运行了 export 命令之后再运行 flink run 应该就可行了。
Wayne <1...@163.com> 于2021年8月28日周六 下午8:37写道:
> 我的提交命令
>
>
> ./bin/flink run -d -m yarn-cluster
>
>
> 报错如下
> The program finished with the following exception:
>
>
> java.lang.Ill
我的提交命令
./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 "