设置conf为允许simple模式通过kerberos链接:

import org.apache.hadoop.fs.CommonConfigurationKeys
conf.setBoolean(CommonConfigurationKeys.IPC_CLIENT_FALLBACK_TO_SIMPLE_AUTH_ALLOWED_KEY, true)

可以解决Hbase、HDFS、Hive开启和不开启kerberos同时抽取的问题

相关文章:

  • 2021-11-15
  • 2021-12-14
  • 2022-12-23
  • 2022-12-23
  • 2022-01-27
  • 2021-12-09
  • 2021-04-17
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-27
  • 2022-12-23
  • 2021-12-04
  • 2021-06-17
  • 2022-12-23
相关资源
相似解决方案