[ https://issues.apache.org/jira/browse/HDFS-1705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE resolved HDFS-1705. ------------------------------------------ Resolution: Fixed I have committed this. Thanks Suresh and Tanping! > HDFS federation: Balancer command throws NullPointerException > -------------------------------------------------------------- > > Key: HDFS-1705 > URL: https://issues.apache.org/jira/browse/HDFS-1705 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: balancer > Affects Versions: Federation Branch > Reporter: Tanping Wang > Assignee: Suresh Srinivas > Priority: Minor > Fix For: Federation Branch > > Attachments: HDFS-1705.patch > > > Run balancer results in "java.lang.NullPointerException" error. > $ hdfs balancer > 11/02/02 18:06:24 ERROR balancer.Balancer: java.lang.NullPointerException > at > org.apache.hadoop.hdfs.server.balancer.Balancer$Cli.setConf(Balancer.java:1467) > at org.apache.hadoop.conf.Configured.<init>(Configured.java:38) > at org.apache.hadoop.conf.Configured.<init>(Configured.java:33) > at > org.apache.hadoop.hdfs.server.balancer.Balancer$Cli.<init>(Balancer.java:1463) > at > org.apache.hadoop.hdfs.server.balancer.Balancer.main(Balancer.java:1553) -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira