[jira] Commented: (HDFS-762) Trying to start the balancer throws a NPE
[ https://issues.apache.org/jira/browse/HDFS-762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12799000#action_12799000 ] Hudson commented on HDFS-762: - Integrated in Hdfs-Patch-h2.grid.sp2.yahoo.net #94 (See [http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h2.grid.sp2.yahoo.net/94/]) > 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 >Assignee: Cristian Ivascu > Fix For: 0.21.0 > > Attachments: 0001-corrected-balancer-constructor.patch, HDFS-762.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.(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.
[jira] Commented: (HDFS-762) Trying to start the balancer throws a NPE
[ https://issues.apache.org/jira/browse/HDFS-762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12794927#action_12794927 ] Hudson commented on HDFS-762: - Integrated in Hadoop-Hdfs-trunk-Commit #158 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Hdfs-trunk-Commit/158/]) > 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 >Assignee: Cristian Ivascu > Fix For: 0.21.0 > > Attachments: 0001-corrected-balancer-constructor.patch, HDFS-762.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.(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.
[jira] Commented: (HDFS-762) Trying to start the balancer throws a NPE
[ https://issues.apache.org/jira/browse/HDFS-762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12794608#action_12794608 ] Hudson commented on HDFS-762: - Integrated in Hadoop-Hdfs-trunk #182 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Hdfs-trunk/182/]) > 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 >Assignee: Cristian Ivascu > Fix For: 0.21.0 > > Attachments: 0001-corrected-balancer-constructor.patch, HDFS-762.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.(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.
[jira] Commented: (HDFS-762) Trying to start the balancer throws a NPE
[ https://issues.apache.org/jira/browse/HDFS-762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12794346#action_12794346 ] Hudson commented on HDFS-762: - Integrated in Hdfs-Patch-h5.grid.sp2.yahoo.net #159 (See [http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/159/]) . Balancer causes Null Pointer Exception. (Cristian Ivascu via dhruba) . Balancer causes Null Pointer Exception. (Cristian Ivascu via dhruba) > 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 >Assignee: Cristian Ivascu > Fix For: 0.21.0 > > Attachments: 0001-corrected-balancer-constructor.patch, HDFS-762.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.(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.
[jira] Commented: (HDFS-762) Trying to start the balancer throws a NPE
[ https://issues.apache.org/jira/browse/HDFS-762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12794261#action_12794261 ] dhruba borthakur commented on HDFS-762: --- The two failed tests are org.apache.hadoop.hdfs.TestClientProtocolForPipelineRecovery.testGetNewStamp org.apache.hadoop.hdfs.server.datanode.TestBlockReport.blockReport and the only change that this patch is to change the constructor of the Balancer. In no way is this test failure related to this patch. I a going to commit this patch. > 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 >Assignee: Cristian Ivascu > Fix For: 0.21.0 > > Attachments: 0001-corrected-balancer-constructor.patch, HDFS-762.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.(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.
[jira] Commented: (HDFS-762) Trying to start the balancer throws a NPE
[ https://issues.apache.org/jira/browse/HDFS-762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793486#action_12793486 ] Hadoop QA commented on HDFS-762: -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12426144/HDFS-762.patch against trunk revision 893039. +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 3 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. -1 core tests. The patch failed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/155/testReport/ Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/155/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/155/artifact/trunk/build/test/checkstyle-errors.html Console output: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/155/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 >Assignee: Cristian Ivascu > Fix For: 0.21.0 > > Attachments: 0001-corrected-balancer-constructor.patch, HDFS-762.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.(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.
[jira] Commented: (HDFS-762) Trying to start the balancer throws a NPE
[ https://issues.apache.org/jira/browse/HDFS-762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793429#action_12793429 ] dhruba borthakur commented on HDFS-762: --- +1. Code looks good. > 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 >Assignee: Cristian Ivascu > Fix For: 0.21.0 > > Attachments: 0001-corrected-balancer-constructor.patch, HDFS-762.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.(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.
[jira] Commented: (HDFS-762) Trying to start the balancer throws a NPE
[ https://issues.apache.org/jira/browse/HDFS-762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12781900#action_12781900 ] dhruba borthakur commented on HDFS-762: --- If this is a real problem with the Balancer, then can we get it into 0.21? > 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.(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.
[jira] Commented: (HDFS-762) Trying to start the balancer throws a NPE
[ 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.(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.
[jira] Commented: (HDFS-762) Trying to start the balancer throws a NPE
[ https://issues.apache.org/jira/browse/HDFS-762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12776152#action_12776152 ] Cristian Ivascu commented on HDFS-762: -- A more logical description of the proposed patch (cannot edit previous comment): The attached file contains a patch that changes the behavior of the Balancer() constructor (with no parameters) to basically do nothing (like the 0.20 version), and a test in the TestBalancer class. > 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.(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.