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

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

    Details

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

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: