我敢肯定没有人开始平衡,有什么问题吗?
平衡运行: # hdfs balancer -threshold 1 16/02/19 15:10:02 INFO balancer.Balancer: Using a threshold of 1.0 16/02/19 15:10:02 INFO balancer.Balancer: namenodes = [hdfs://m1.h.c.test:8020, hdfs://m1.h.c.test] 16/02/19 15:10:02 INFO balancer.Balancer: parameters = Balancer.Parameters [BalancingPolicy.Node, threshold = 1.0, max idle iteration = 5, #excluded nodes = 0, #included nodes = 0, #source nodes = 0, run during upgrade = false] 16/02/19 15:10:02 INFO balancer.Balancer: included nodes = [] 16/02/19 15:10:02 INFO balancer.Balancer: excluded nodes = [] 16/02/19 15:10:02 INFO balancer.Balancer: source nodes = [] Time Stamp Iteration# Bytes Already Moved Bytes Left To Move Bytes Being Moved java.io.IOException: Another Balancer is running.. Exiting ...
我使用hdp软件包: ii hadoop-2-3-2-0-2950 2.7.1.2.3.2.0-2950 ii hadoop-2-3-2-0-2950-client 2.7.1.2.3.2.0-2950 ii hadoop-2-3-2-0-2950-hdfs 2.7.1.2.3.2.0-2950 ii hadoop-2-3-2-0-2950-hdfs-namenode 2.7.1.2.3.2.0-2950
3条答案
按热度按时间y53ybaqx1#
您可以尝试:
hdfs dfs -rm -skipTrash /system/balancer.id
n3schb8v2#
只需运行以下命令即可终止进程。
然后使用ambari运行balancer。
如果您使用的是ha环境,请首先使用,
gkl3eglg3#
也可以在中描述问题https://issues.apache.org/jira/browse/hdfs-8897 -这是特定于hdfs ha配置的。
hdfs 2.8和3.0中修复的问题。