ha格式化zookeeper时报错Exception in thread "main" org.apache.hadoop.HadoopIllegalArgumentException: Could not get the namenode ID of this node. You may run zkfc on the node other than namenode.

可能是因为hdfs-site.xml里的namenode的id或者IP地址不对地址只能是主节点namenode

Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐