flink启动错误(使用YARN)

##flink启动错误信息
Executor found. Please make sure to export the HADOOP_CLASSPATH environment

##需要手动添加HADOOP_CLASSPATH:
vim /etc/profile
export HADOOP_HOME=“/opt/cloudera/parcels/CDH/lib/hadoop”
export PATH= P A T H : PATH: PATH:HADOOP_HOME/bin: H A D O O P H O M E / s b i n : HADOOP_HOME/sbin: HADOOPHOME/sbin:PATH
export HADOOP_CLASSPATH=hadoop classpath
export FLINK_HOME=/opt/autoflow/flink-1.14.5
export PATH= P A T H : PATH: PATH:FLINK_HOME/bin:$PATH

source /etc/profile

echo $HADOOP_HOME

##测试是否可行
cd /opt/autoflow/flink-1.14.5/
bin/flink run -m yarn-cluster ./examples/batch/WordCount.jar

相关推荐

  1. flink启动错误使用YARN

    2024-03-20 10:10:04       22 阅读
  2. Hadoop-Yarn-启动

    2024-03-20 10:10:04       33 阅读
  3. Yarn使用

    2024-03-20 10:10:04       10 阅读

最近更新

  1. TCP协议是安全的吗?

    2024-03-20 10:10:04       18 阅读
  2. 阿里云服务器执行yum,一直下载docker-ce-stable失败

    2024-03-20 10:10:04       19 阅读
  3. 【Python教程】压缩PDF文件大小

    2024-03-20 10:10:04       18 阅读
  4. 通过文章id递归查询所有评论(xml)

    2024-03-20 10:10:04       20 阅读

热门阅读

  1. HttpClient4基础

    2024-03-20 10:10:04       23 阅读
  2. Oracle中使用coe_load_sql_profile脚本固定执行计划

    2024-03-20 10:10:04       22 阅读
  3. Android Studio中快速修改包名

    2024-03-20 10:10:04       24 阅读
  4. 【Golang入门教程】Go语言变量的声明

    2024-03-20 10:10:04       22 阅读
  5. 1059:求平均年龄

    2024-03-20 10:10:04       27 阅读