hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Wu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-9490) MiniDFSCluster should change block generation stamp via FsDatasetTestUtils
Date Wed, 02 Dec 2015 16:47:11 GMT

     [ https://issues.apache.org/jira/browse/HDFS-9490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tony Wu updated HDFS-9490:
--------------------------
    Attachment: HDFS-9490.002.patch

In v2 patch:
* Addressed [~eddyxu]'s review comments by changing {{changeStoredGenerationStamp}} to be
{{void}}.
* Updated relevant functions and tests for the change.

> MiniDFSCluster should change block generation stamp via FsDatasetTestUtils
> --------------------------------------------------------------------------
>
>                 Key: HDFS-9490
>                 URL: https://issues.apache.org/jira/browse/HDFS-9490
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 2.7.1
>            Reporter: Tony Wu
>            Assignee: Tony Wu
>            Priority: Minor
>         Attachments: HDFS-9490.001.patch, HDFS-9490.002.patch
>
>
> {{MiniDFSCluster#changeGenStampOfBlock}} directly manipulates the block meta file to
update the generation stamp. This depends on file based {{FsDataset}}.
> We can abstract the change generation stamp operation in {{FsDatasetTestUtils}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message