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 "Doug Cutting (JIRA)" <ji...@apache.org> on 2007/07/20 23:53:06 UTC

[jira] Created: (HADOOP-1645) TestDecommission sometimes fails

TestDecommission sometimes fails
--------------------------------

                 Key: HADOOP-1645
                 URL: https://issues.apache.org/jira/browse/HADOOP-1645
             Project: Hadoop
          Issue Type: Bug
            Reporter: Doug Cutting
            Priority: Blocker
             Fix For: 0.14.0
         Attachments: TEST-org.apache.hadoop.dfs.TestDecommission.txt

TestDecommission sometimes fails with:

junit.framework.AssertionFailedError: Number of replicas for block0 expected:<3> but was:<2>
        at org.apache.hadoop.dfs.TestDecommission.checkFile(TestDecommission.java:88)
        at org.apache.hadoop.dfs.TestDecommission.testDecommission(TestDecommission.java:285)


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


[jira] Updated: (HADOOP-1645) TestDecommission sometimes fails

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doug Cutting updated HADOOP-1645:
---------------------------------

    Attachment: TEST-org.apache.hadoop.dfs.TestDecommission.txt

Here's a log from a run that failed.

> TestDecommission sometimes fails
> --------------------------------
>
>                 Key: HADOOP-1645
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1645
>             Project: Hadoop
>          Issue Type: Bug
>            Reporter: Doug Cutting
>            Priority: Blocker
>             Fix For: 0.14.0
>
>         Attachments: TEST-org.apache.hadoop.dfs.TestDecommission.txt
>
>
> TestDecommission sometimes fails with:
> junit.framework.AssertionFailedError: Number of replicas for block0 expected:<3> but was:<2>
>         at org.apache.hadoop.dfs.TestDecommission.checkFile(TestDecommission.java:88)
>         at org.apache.hadoop.dfs.TestDecommission.testDecommission(TestDecommission.java:285)

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


[jira] Resolved: (HADOOP-1645) TestDecommission sometimes fails

Posted by "dhruba borthakur (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

dhruba borthakur resolved HADOOP-1645.
--------------------------------------

    Resolution: Duplicate

> TestDecommission sometimes fails
> --------------------------------
>
>                 Key: HADOOP-1645
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1645
>             Project: Hadoop
>          Issue Type: Bug
>            Reporter: Doug Cutting
>            Priority: Blocker
>             Fix For: 0.14.0
>
>         Attachments: TEST-org.apache.hadoop.dfs.TestDecommission.txt
>
>
> TestDecommission sometimes fails with:
> junit.framework.AssertionFailedError: Number of replicas for block0 expected:<3> but was:<2>
>         at org.apache.hadoop.dfs.TestDecommission.checkFile(TestDecommission.java:88)
>         at org.apache.hadoop.dfs.TestDecommission.testDecommission(TestDecommission.java:285)

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


[jira] Commented: (HADOOP-1645) TestDecommission sometimes fails

Posted by "Raghu Angadi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12514351 ] 

Raghu Angadi commented on HADOOP-1645:
--------------------------------------

Dhruba and I looked similar output. The problem is that close(DFS_FILE) waits for dfs.replication.min to be satisfied before returning. But this test requires all replicas to be present. For this test, may be we could set dfs.replicaion.min to same as max. This test is done right after closing the file.


> TestDecommission sometimes fails
> --------------------------------
>
>                 Key: HADOOP-1645
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1645
>             Project: Hadoop
>          Issue Type: Bug
>            Reporter: Doug Cutting
>            Priority: Blocker
>             Fix For: 0.14.0
>
>         Attachments: TEST-org.apache.hadoop.dfs.TestDecommission.txt
>
>
> TestDecommission sometimes fails with:
> junit.framework.AssertionFailedError: Number of replicas for block0 expected:<3> but was:<2>
>         at org.apache.hadoop.dfs.TestDecommission.checkFile(TestDecommission.java:88)
>         at org.apache.hadoop.dfs.TestDecommission.testDecommission(TestDecommission.java:285)

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