Reply
Explorer
Posts: 10
Registered: ‎01-25-2017
Accepted Solution

Error trying to balance disks on node

I'm trying to rebalance hdfs on my data nodes (CDH 5.9.1) after adding a disk.  I've followed this blog post: https://blog.cloudera.com/blog/2016/10/how-to-use-the-new-hdfs-intra-datanode-disk-balancer-in-apach... and restarted the cluster.  No matter how I format the host (FQDN, hostname only, IP) I always get this response:

 

[hdfs@ip-10-16-113-100 ~]$ hdfs diskbalancer -plan ip-10-16-113-100
17/09/15 17:34:27 ERROR tools.DiskBalancer: java.lang.IllegalArgumentException

I see no other complaints that I can find, so I'm trying to figure out what I'm doing wrong.  Any one gotten this to work that can give me some guidance?

 

Regards.

Explorer
Posts: 10
Registered: ‎01-25-2017

Re: Error trying to balance disks on node

After some unknown period of time, the command began working.  Current guess is that the system has to do a complete block report before the command becomes availible.

Announcements