Flink实战系列Could not initialize class org.apache.hadoop.security.UserGroupInformation
Posted JasonLee实时计算
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Flink实战系列Could not initialize class org.apache.hadoop.security.UserGroupInformation相关的知识,希望对你有一定的参考价值。
java.lang.NoClassDefFoundError: Could not initialize class
背景说明
在 Flink 读取 hive 数据写到 kafka 的任务中,提交任务在客户端报错:
java.lang.NoClassDefFoundError: Could not initialize class org.apache.hadoop.security.UserGroupInformation
at org.apache.hadoop.conf.Configuration$Resource.getRestrictParserDefault(Configuration.java:252)
at org.apache.hadoop.conf.Configuration$Resource.<init>(Configuration.java:220)
at org.apache.hadoop.conf.Configuration$Resource.<init>(Configuration.java:212)
at org.apache.hadoop.conf.Configuration.addResource(Configuration.java:888)
at org.apache.flink.table.catalog.hive.util.HiveTableUtil.getHadoopConfiguration(HiveTableUtil.java:513)
at org.apache.flink.table.catalog.hive.HiveCatalog.createHiveConf(HiveCatalog.java:232)
at org.apache.flink.table.catalog.hive.HiveCatalog.<init>(HiveCatalo
以上是关于Flink实战系列Could not initialize class org.apache.hadoop.security.UserGroupInformation的主要内容,如果未能解决你的问题,请参考以下文章
日常Exception第三十回:Flink异常NoResourceAvailableException: Could not acquire the minimum required resour
日常Exception第三十回:Flink异常NoResourceAvailableException: Could not acquire the minimum required resour
日常Exception第三十回:Flink异常NoResourceAvailableException: Could not acquire the minimum required resour
Flink实战系列Sort on a non-time-attribute field is not supported
Flink实战系列Sort on a non-time-attribute field is not supported
flink运行报错 org.apache.flink.client.program.ProgramInvocationException: Could not retrieve the executi