You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Rasit OZDAS <ra...@gmail.com> on 2009/03/23 14:25:30 UTC
Running Balancer from API
Hi,
I try to start balancer from API
(org.apache.hadoop.hdfs.server.balancer.Balancer.main() ), but I get
NullPointerException.
09/03/23 15:17:37 ERROR dfs.Balancer: java.lang.NullPointerException
at org.apache.hadoop.dfs.Balancer.run(Balancer.java:1453)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at org.apache.hadoop.dfs.Balancer.main(Balancer.java:792)
It's this line (Balancer.java:1453):
fs.delete(BALANCER_ID_PATH, true);
The process doesn't start at all, I assume, It tries to delete a path that
balancer didn't put yet.
Is this an issue?
Rasit