[jira] [Updated] (HDFS-9490) MiniDFSCluster should change block generation stamp via FsDatasetTestUtils
[ https://issues.apache.org/jira/browse/HDFS-9490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lei (Eddy) Xu updated HDFS-9490: Resolution: Fixed Fix Version/s: 2.8.0 3.0.0 Status: Resolved (was: Patch Available) > 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 > Fix For: 3.0.0, 2.8.0 > > 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)
[jira] [Updated] (HDFS-9490) MiniDFSCluster should change block generation stamp via FsDatasetTestUtils
[ 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)
[jira] [Updated] (HDFS-9490) MiniDFSCluster should change block generation stamp via FsDatasetTestUtils
[ 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.001.patch In v1 patch: * Add {{FsDatasetTestUtils#changeStoredGenerationStamp}}. * Update {{MiniDFSCluster#changeGenStampOfBlock}} to use the new API. > 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 > > > {{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)
[jira] [Updated] (HDFS-9490) MiniDFSCluster should change block generation stamp via FsDatasetTestUtils
[ https://issues.apache.org/jira/browse/HDFS-9490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tony Wu updated HDFS-9490: -- Status: Patch Available (was: Open) > 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 > > > {{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)