Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-9490

MiniDFSCluster should change block generation stamp via FsDatasetTestUtils

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.1
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: test
    • Labels:
      None
    • Target Version/s:

      Description

      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.

        Attachments

        1. HDFS-9490.001.patch
          4 kB
          Tony Wu
        2. HDFS-9490.002.patch
          5 kB
          Tony Wu

          Activity

            People

            • Assignee:
              twu Tony Wu
              Reporter:
              twu Tony Wu
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: