[
https://issues.apache.org/jira/browse/HDFS-1693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Suresh Srinivas updated HDFS-1693:
----------------------------------
Attachment: HDFS-1693.patch
Changes:
# Added a test case for testing the recovery of block pool storage.
# MiniDFSCluster is enhanced to provide various storage directories. Hardcoding
of current, rbw, finalized etc for
directory path names is removed.
# UpgradeUtilities has a separate set of methods for manipulating storage
directories, instead of basing it on NodeType
parameter. This makes these methods to evolve independently. Also needed since
NodeType currently cannot describe a
block pool.
With the change all the following upgrade related tests pass:
# TestDFSStorageStateRecovery
# TestDFSFinalize
# TestDFSRollback
# TestDFSStartupVersions
# TestDFSUpgrade
# TestDFSUpgradeFromImage
> TestDFSStorageStateRecovery fails
> ----------------------------------
>
> Key: HDFS-1693
> URL: https://issues.apache.org/jira/browse/HDFS-1693
> 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-1693.patch
>
>
> The test tests recovery of a datanode by setting up different combination of
> directories under storage directory -
> current, previous, previous.tmp, removed.tmp etc.
> This test needs to be fixed and enhanced to add recovery for block pool
> storage along with existing datanode storage.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira