FAQ
Any sage advice out there for a 19.1 balancer that is throwing
NullPtrExceptions?

I don't believe this is an instance of
https://issues.apache.org/jira/browse/HADOOP-5513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12682566
#action_12682566

As the fs.default.name is set to in the hadoop-site.xml to:

<property>
<name>fs.default.name</name>
<value>hdfs://systemname/</value>
</property>

I also tried setting the fs.default.name in core-site.xml also.

The trace is not too enlightening:

2009-07-17 11:59:29,955 ERROR
org.apache.hadoop.hdfs.server.balancer.Balancer:
java.lang.NullPointerException
at org.apache.hadoop.hdfs.server.balancer.Balancer.run(Balancer.java:
1466)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at org.apache.hadoop.hdfs.server.balancer.Balancer.main(Balancer.java:
793)

The exception is thrown during cleanup:

// close the output file
IOUtils.closeStream(out);
try {
fs.delete(BALANCER_ID_PATH, true);
} catch(IOException ignored) {
}

My guess is 'fs' or BALANCER_ID_PATH is NULL. So, we probably never
got started property.
Any other configuration parameters to be aware of, are there any other
suspects?

Thanks

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-user @
categorieshadoop
postedJul 23, '09 at 1:36p
activeJul 23, '09 at 1:36p
posts1
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Ko Baryiames: 1 post

People

Translate

site design / logo © 2022 Grokbase