运行github上kduu的java example,报错如下
NoLeaderFoundException: Master config (hadoop-master:7051) has no leader.
网上百度后感觉都不是我想要的答案,上CDH查看kudu-ui的log,信息如下
NoLeaderFoundException: Master config (hadoop-master:7051) has no leader.
再百度,修改重启即可:
# 集群-->kudu -->配置 --> Master -->高级 -->gflagfile 的 Master 高级配置代码段>
-rpc_encryption=disabled
-rpc_authentication=disabled
-trusted_subnets=0.0.0.0/0
# 右上角 ‘保存更改’ --> 重启集群 --> OK
作者:JokerRun
链接:https://www.jianshu.com/p/2d7c53d7737a
來源:简书
简书著作权归作者所有,任何形式的转载都请联系作者获得授权并注明出处。