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

Change TestDeleteBlockPool to not explicitly use File to check block pool existence.

    XMLWordPrintableJSON

Details

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

    Description

      TestDeleteBlockPool checks the existence of a block pool by checking the directories in the file-based block pool exists. However, it does not apply to non file based fsdataset.

      We can fix it by abstracting the checking logic behind FsDatasetTestUtils.

      Attachments

        1. HDFS-9281.00.patch
          10 kB
          Lei (Eddy) Xu
        2. HDFS-9281.02.patch
          10 kB
          Lei (Eddy) Xu
        3. HDFS-9281.03.patch
          10 kB
          Lei (Eddy) Xu
        4. HDFS-9281.combo.00.patch
          12 kB
          Lei (Eddy) Xu

        Issue Links

          Activity

            People

              eddyxu Lei (Eddy) Xu
              eddyxu Lei (Eddy) Xu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: