FAQ
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

Search Discussions

  • Suresh Srinivas (JIRA) at Feb 26, 2011 at 1:44 am
    [ 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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouphdfs-dev @
categorieshadoop
postedFeb 25, '11 at 2:11a
activeFeb 26, '11 at 1:44a
posts2
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Suresh Srinivas (JIRA): 2 posts

People

Translate

site design / logo © 2022 Grokbase