一、flink作业部署在yarn-cluster遇到的异常
某年某月某时,flink作业在本地测试运行的7788了,于是打了个jar包,打算部署yarn-cluster运行试试,我遇到过如下但不限于的异常:
异常 |
hadoop.hdfs 冲突 java.lang.IllegalAccessError: class org.apache.hadoop.hdfs.web.HftpFileSystem cannot access its superinterface org.apache.hadoop.hdfs.web.TokenAspect$TokenManagementDelegator |
hadoop.comon 冲突 Caused by: org.apache.flink.core.fs.UnsupportedFileSystemSchemeException: Could not find a file system implementation for scheme 'hdfs'. The scheme is not directly supported by Flink and no Hadoop file system...... |
hadoop.comon 冲突 Caused by: org.apache.flink.core.fs.UnsupportedFileSystemSchemeException: Cannot support file system for 'hdfs' via Hadoop, because Hadoop is not in the classpath, or some classes are missing from the classpath. |
hadoop.auth 冲突 Caused by: java.lang.NoSuchMethodError: org.apache.hadoop.security.HadoopKerberosName.setRuleMechanism(Ljava/lang/String;)V |
hadoop-yarn-server-resourcemanager,hadoop-yarn-registry冲突 Caused by: java.lang.ClassCastException: org.apache.hadoop.yarn.proto.YarnServiceProtos$Registe |