hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suresh Srinivas (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HDFS-1688) Federation: Fix failures in fault injection tests, TestDiskError, TestDatanodeRestart and TestDFSTartupVersions.
Date Wed, 02 Mar 2011 08:49:37 GMT

    [ https://issues.apache.org/jira/browse/HDFS-1688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13001339#comment-13001339
] 

Suresh Srinivas commented on HDFS-1688:
---------------------------------------

Changes to fix the test failures:
# Fault injection test failures:
#* Fixed a bug - In MiniDFSCluster constructor numDatanodes was not initialized correctly
in a previous patch. Instead of depending on startDataNodes method to increment it to the
configured number of datanodes. This initialization resulted in more number of datanodes than
configured. Cluster waits for ever till the number of datanodes started is equal numDatanodes,
resulting in test failures.
#* Changed fault injection tests to use MiniDFSCluster#Builder instead of deprecated constructors.
# TestDiskError - change equivalent HADOOP-4679
# TestDatanodeRestart - waiting for datanode to startup is different in federation with separate
threads for block pools. Changed the test for datanode to fully start.
# TestDFSStartupVersions:
#* In UpgradeUtilities, separated namenode and datanode version creation to separate methods.
When creating datanode version file, blockpool version file is also created (for federation
or releases after that).
#* Added tests that ensures datanode does not come up when the clusterID and blockPoolID mismatch
is found between the datanode and the namenode.



> Federation: Fix failures in fault injection tests, TestDiskError, TestDatanodeRestart
and TestDFSTartupVersions.
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1688
>                 URL: https://issues.apache.org/jira/browse/HDFS-1688
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: Federation Branch
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: Federation Branch
>
>         Attachments: HDFS-1688.1.patch, HDFS-1688.patch
>
>


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

        

Mime
View raw message