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

MiniDFSCluster should change block generation stamp via FsDatasetTestUtils

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.7.1
    • 2.8.0, 3.0.0-alpha1
    • test
    • None

    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

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

            Dates

              Created:
              Updated:
              Resolved: