You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "dhruba borthakur (JIRA)" <ji...@apache.org> on 2007/06/02 07:19:16 UTC
[jira] Created: (HADOOP-1456) TestDecommission fails with assertion
Number of replicas for block1 expected:<3> but was:<2>
TestDecommission fails with assertion Number of replicas for block1 expected:<3> but was:<2>
---------------------------------------------------------------------------------------------
Key: HADOOP-1456
URL: https://issues.apache.org/jira/browse/HADOOP-1456
Project: Hadoop
Issue Type: Bug
Components: dfs
Reporter: dhruba borthakur
Assignee: dhruba borthakur
TestDecommission fails sometimes with the following assertion:
junit.framework.AssertionFailedError: Number of replicas for block1 expected:<3> but was:<2>
at org.apache.hadoop.dfs.TestDecommission.checkFile(TestDecommission.java:89)
at org.apache.hadoop.dfs.TestDecommission.testDecommission(TestDecommission.java:285)
More logs here: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/231/testReport/org.apache.hadoop.dfs/TestDecommission/testDecommission/
This test creates a file with target replication factor of 3. Then it verifies that the file actually has a replciation of 3. I think the test should set "dfs.replication.considerLoad" to false before starting the test so that the namenode ignores the load on datanodes while allocating replicas. This is the approach folowed by TestReplication.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-1456) TestDecommission fails with assertion
Number of replicas for block1 expected:<3> but was:<2>
Posted by "dhruba borthakur (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-1456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
dhruba borthakur updated HADOOP-1456:
-------------------------------------
Status: Patch Available (was: Open)
> TestDecommission fails with assertion Number of replicas for block1 expected:<3> but was:<2>
> ---------------------------------------------------------------------------------------------
>
> Key: HADOOP-1456
> URL: https://issues.apache.org/jira/browse/HADOOP-1456
> Project: Hadoop
> Issue Type: Bug
> Components: dfs
> Reporter: dhruba borthakur
> Assignee: dhruba borthakur
> Attachments: testDecommission1456.patch
>
>
> TestDecommission fails sometimes with the following assertion:
> junit.framework.AssertionFailedError: Number of replicas for block1 expected:<3> but was:<2>
> at org.apache.hadoop.dfs.TestDecommission.checkFile(TestDecommission.java:89)
> at org.apache.hadoop.dfs.TestDecommission.testDecommission(TestDecommission.java:285)
> More logs here: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/231/testReport/org.apache.hadoop.dfs/TestDecommission/testDecommission/
> This test creates a file with target replication factor of 3. Then it verifies that the file actually has a replciation of 3. I think the test should set "dfs.replication.considerLoad" to false before starting the test so that the namenode ignores the load on datanodes while allocating replicas. This is the approach folowed by TestReplication.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-1456) TestDecommission fails with
assertion Number of replicas for block1 expected:<3> but was:<2>
Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-1456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12501268 ]
Hairong Kuang commented on HADOOP-1456:
---------------------------------------
+1
> TestDecommission fails with assertion Number of replicas for block1 expected:<3> but was:<2>
> ---------------------------------------------------------------------------------------------
>
> Key: HADOOP-1456
> URL: https://issues.apache.org/jira/browse/HADOOP-1456
> Project: Hadoop
> Issue Type: Bug
> Components: dfs
> Reporter: dhruba borthakur
> Assignee: dhruba borthakur
> Attachments: testDecommission1456.patch
>
>
> TestDecommission fails sometimes with the following assertion:
> junit.framework.AssertionFailedError: Number of replicas for block1 expected:<3> but was:<2>
> at org.apache.hadoop.dfs.TestDecommission.checkFile(TestDecommission.java:89)
> at org.apache.hadoop.dfs.TestDecommission.testDecommission(TestDecommission.java:285)
> More logs here: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/231/testReport/org.apache.hadoop.dfs/TestDecommission/testDecommission/
> This test creates a file with target replication factor of 3. Then it verifies that the file actually has a replciation of 3. I think the test should set "dfs.replication.considerLoad" to false before starting the test so that the namenode ignores the load on datanodes while allocating replicas. This is the approach folowed by TestReplication.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-1456) TestDecommission fails with
assertion Number of replicas for block1 expected:<3> but was:<2>
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-1456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12504666 ]
Hadoop QA commented on HADOOP-1456:
-----------------------------------
Integrated in Hadoop-Nightly #121 (See [http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Nightly/121/])
> TestDecommission fails with assertion Number of replicas for block1 expected:<3> but was:<2>
> ---------------------------------------------------------------------------------------------
>
> Key: HADOOP-1456
> URL: https://issues.apache.org/jira/browse/HADOOP-1456
> Project: Hadoop
> Issue Type: Bug
> Components: dfs
> Reporter: dhruba borthakur
> Assignee: dhruba borthakur
> Fix For: 0.14.0
>
> Attachments: testDecommission1456.patch
>
>
> TestDecommission fails sometimes with the following assertion:
> junit.framework.AssertionFailedError: Number of replicas for block1 expected:<3> but was:<2>
> at org.apache.hadoop.dfs.TestDecommission.checkFile(TestDecommission.java:89)
> at org.apache.hadoop.dfs.TestDecommission.testDecommission(TestDecommission.java:285)
> More logs here: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/231/testReport/org.apache.hadoop.dfs/TestDecommission/testDecommission/
> This test creates a file with target replication factor of 3. Then it verifies that the file actually has a replciation of 3. I think the test should set "dfs.replication.considerLoad" to false before starting the test so that the namenode ignores the load on datanodes while allocating replicas. This is the approach folowed by TestReplication.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-1456) TestDecommission fails with
assertion Number of replicas for block1 expected:<3> but was:<2>
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-1456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12501294 ]
Hadoop QA commented on HADOOP-1456:
-----------------------------------
+1
http://issues.apache.org/jira/secure/attachment/12358749/testDecommission1456.patch applied and successfully tested against trunk revision r544181.
Test results: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/243/testReport/
Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/243/console
> TestDecommission fails with assertion Number of replicas for block1 expected:<3> but was:<2>
> ---------------------------------------------------------------------------------------------
>
> Key: HADOOP-1456
> URL: https://issues.apache.org/jira/browse/HADOOP-1456
> Project: Hadoop
> Issue Type: Bug
> Components: dfs
> Reporter: dhruba borthakur
> Assignee: dhruba borthakur
> Attachments: testDecommission1456.patch
>
>
> TestDecommission fails sometimes with the following assertion:
> junit.framework.AssertionFailedError: Number of replicas for block1 expected:<3> but was:<2>
> at org.apache.hadoop.dfs.TestDecommission.checkFile(TestDecommission.java:89)
> at org.apache.hadoop.dfs.TestDecommission.testDecommission(TestDecommission.java:285)
> More logs here: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/231/testReport/org.apache.hadoop.dfs/TestDecommission/testDecommission/
> This test creates a file with target replication factor of 3. Then it verifies that the file actually has a replciation of 3. I think the test should set "dfs.replication.considerLoad" to false before starting the test so that the namenode ignores the load on datanodes while allocating replicas. This is the approach folowed by TestReplication.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-1456) TestDecommission fails with assertion
Number of replicas for block1 expected:<3> but was:<2>
Posted by "dhruba borthakur (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-1456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
dhruba borthakur updated HADOOP-1456:
-------------------------------------
Attachment: testDecommission1456.patch
Set dfs.replciation.considerLoad to be false for this test.
Fix debug messages.
> TestDecommission fails with assertion Number of replicas for block1 expected:<3> but was:<2>
> ---------------------------------------------------------------------------------------------
>
> Key: HADOOP-1456
> URL: https://issues.apache.org/jira/browse/HADOOP-1456
> Project: Hadoop
> Issue Type: Bug
> Components: dfs
> Reporter: dhruba borthakur
> Assignee: dhruba borthakur
> Attachments: testDecommission1456.patch
>
>
> TestDecommission fails sometimes with the following assertion:
> junit.framework.AssertionFailedError: Number of replicas for block1 expected:<3> but was:<2>
> at org.apache.hadoop.dfs.TestDecommission.checkFile(TestDecommission.java:89)
> at org.apache.hadoop.dfs.TestDecommission.testDecommission(TestDecommission.java:285)
> More logs here: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/231/testReport/org.apache.hadoop.dfs/TestDecommission/testDecommission/
> This test creates a file with target replication factor of 3. Then it verifies that the file actually has a replciation of 3. I think the test should set "dfs.replication.considerLoad" to false before starting the test so that the namenode ignores the load on datanodes while allocating replicas. This is the approach folowed by TestReplication.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-1456) TestDecommission fails with assertion
Number of replicas for block1 expected:<3> but was:<2>
Posted by "Tom White (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-1456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tom White updated HADOOP-1456:
------------------------------
Resolution: Fixed
Fix Version/s: 0.14.0
Status: Resolved (was: Patch Available)
I've just committed this. Thanks Dhruba!
> TestDecommission fails with assertion Number of replicas for block1 expected:<3> but was:<2>
> ---------------------------------------------------------------------------------------------
>
> Key: HADOOP-1456
> URL: https://issues.apache.org/jira/browse/HADOOP-1456
> Project: Hadoop
> Issue Type: Bug
> Components: dfs
> Reporter: dhruba borthakur
> Assignee: dhruba borthakur
> Fix For: 0.14.0
>
> Attachments: testDecommission1456.patch
>
>
> TestDecommission fails sometimes with the following assertion:
> junit.framework.AssertionFailedError: Number of replicas for block1 expected:<3> but was:<2>
> at org.apache.hadoop.dfs.TestDecommission.checkFile(TestDecommission.java:89)
> at org.apache.hadoop.dfs.TestDecommission.testDecommission(TestDecommission.java:285)
> More logs here: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/231/testReport/org.apache.hadoop.dfs/TestDecommission/testDecommission/
> This test creates a file with target replication factor of 3. Then it verifies that the file actually has a replciation of 3. I think the test should set "dfs.replication.considerLoad" to false before starting the test so that the namenode ignores the load on datanodes while allocating replicas. This is the approach folowed by TestReplication.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.