hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HDFS-762) Trying to start the balancer throws a NPE
Date Tue, 10 Nov 2009 23:34:27 GMT

    [ https://issues.apache.org/jira/browse/HDFS-762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12776170#action_12776170
] 

Hadoop QA commented on HDFS-762:
--------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12424526/0001-corrected-balancer-constructor.patch
  against trunk revision 834377.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 4 new or modified tests.

    -1 patch.  The patch command could not apply the patch.

Console output: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h2.grid.sp2.yahoo.net/69/console

This message is automatically generated.

> Trying to start the balancer throws a NPE
> -----------------------------------------
>
>                 Key: HDFS-762
>                 URL: https://issues.apache.org/jira/browse/HDFS-762
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.21.0
>            Reporter: Cristian Ivascu
>             Fix For: 0.21.0
>
>         Attachments: 0001-corrected-balancer-constructor.patch
>
>
> When trying to run the balancer, I get a NullPointerException:
> 2009-11-10 11:08:14,235 ERROR org.apache.hadoop.hdfs.server.balancer.Balancer: java.lang.NullPointerException
>         at org.apache.hadoop.hdfs.server.namenode.BlockPlacementPolicy.getInstance(BlockPlacementPolicy.java:161)
>         at org.apache.hadoop.hdfs.server.balancer.Balancer.checkReplicationPolicyCompatibility(Balancer.java:784)
>         at org.apache.hadoop.hdfs.server.balancer.Balancer.<init>(Balancer.java:792)
>         at org.apache.hadoop.hdfs.server.balancer.Balancer.main(Balancer.java:814)
> This happens when trying to use bin/start-balancer or bin/hdfs balancer -threshold 10
> The config files (hdfs-site and core-site) have as fs.default.name hdfs://namenode:9000.

-- 
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