hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rasit OZDAS <rasitoz...@gmail.com>
Subject Running Balancer from API
Date Mon, 23 Mar 2009 13:25:30 GMT

I try to start balancer from API
(org.apache.hadoop.hdfs.server.balancer.Balancer.main() ), but I get

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?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message