flink的jar包提交到yarn上的时候出现如下错误
./flink run -yd -m yarn-cluster ../../shan/flink-example-1.0-SNAPSHOT.jar
Setting HBASE_CONF_DIR=/etc/hbase/conf because no HBASE_CONF_DIR was set.
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/data/flink/flink-1.12.2/lib/log4j-slf4j-impl-2.12.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/cloudera/parcels/CDH-5.16.2-1.cdh5.16.2.p0.8/jars/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
------------------------------------------------------------
The program finished with the followin
在尝试将Flink程序通过客户端提交到YARN时,遇到了错误:'LocalStreamEnvironment cannot be used'. 错误源于代码中使用了本地执行环境,不适用于集群提交。
订阅专栏 解锁全文

328

被折叠的 条评论
为什么被折叠?



