You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Tanping Wang (JIRA)" <ji...@apache.org> on 2011/02/25 03:10:38 UTC

[jira] Created: (HDFS-1650) Fix unit test case: TestReplication

Fix unit test case: TestReplication
-----------------------------------

                 Key: HDFS-1650
                 URL: https://issues.apache.org/jira/browse/HDFS-1650
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: test
    Affects Versions: Federation Branch
            Reporter: Tanping Wang
            Assignee: Tanping Wang
            Priority: Minor
             Fix For: Federation Branch


TestReplication fails due to null pointer exception. When corrupting/deleting blocks in TestReplication#testPendingReplicationRetry() the loop should run for 3 datanodes.
Instead it runs 6 times, resulting in null blockFile returned. Changing the loop to run 3 times.


-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (HDFS-1650) HDFS Federation : fix unit test case, TestReplication

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

Suresh Srinivas resolved HDFS-1650.
-----------------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]

I committed the patch. Thank you Tanping.

> HDFS Federation : fix unit test case, TestReplication
> -----------------------------------------------------
>
>                 Key: HDFS-1650
>                 URL: https://issues.apache.org/jira/browse/HDFS-1650
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: Federation Branch
>            Reporter: Tanping Wang
>            Assignee: Tanping Wang
>            Priority: Minor
>             Fix For: Federation Branch
>
>         Attachments: HDFS1650.patch
>
>
> HDFS Federation: 
> TestReplication fails due to null pointer exception. When corrupting/deleting blocks in TestReplication#testPendingReplicationRetry() the loop should run for 3 datanodes.
> Instead it runs 6 times, resulting in null blockFile returned. Changing the loop to run 3 times.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira