hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramya R (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-5513) Balancer throws NullPointerException
Date Tue, 17 Mar 2009 06:00:50 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-5513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12682566#action_12682566
] 

Ramya R commented on HADOOP-5513:
---------------------------------

Below is the output of bin/hadoop balancer
{noformat}
Balancing took x milliseconds
09/03/17 05:38:37 ERROR balancer.Balancer: java.lang.NullPointerException
        at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:134)
        at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:123)
        at org.apache.hadoop.hdfs.server.datanode.DataNode.createSocketAddr(DataNode.java:152)
        at org.apache.hadoop.hdfs.server.balancer.Balancer.createNamenode(Balancer.java:849)
        at org.apache.hadoop.hdfs.server.balancer.Balancer.init(Balancer.java:840)
        at org.apache.hadoop.hdfs.server.balancer.Balancer.run(Balancer.java:1418)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
        at org.apache.hadoop.hdfs.server.balancer.Balancer.main(Balancer.java:791)
{noformat}

Also when balancer is run with invalid threshold value such as  bin/hadoop balancer -threshold
-1, it throws the usage message and also displays the time taken to balance. This is a regression.
Only a usage message is expected.
{noformat}
Expect a double parameter in the range of [0, 100]: -1
Usage: java Balancer
          [-threshold <threshold>]      percentage of disk capacity
Balancing took x milliseconds
{noformat}


> Balancer throws NullPointerException
> ------------------------------------
>
>                 Key: HADOOP-5513
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5513
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.20.0
>            Reporter: Ramya R
>            Priority: Minor
>             Fix For: 0.20.0
>
>
> Balancer command seems to be throwing NullPointerException when run on 0.20 using fairshare
scheduler

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message