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

Make data directory count and storage raw capacity related tests FsDataset-agnostic

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

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

    Description

      DFSMiniCluster and several tests have hard coded assumption of the underlying storage having 2 data directories (volumes). As HDFS-9188 pointed out, with new FsDataset implementations, these hard coded assumption about number of data directories and raw capacities of storage may change as well.

      We need to extend FsDatasetTestUtils to provide:

      • Number of data directories of underlying storage per DataNode
      • Raw storage capacity of underlying storage per DataNode.
      • Have MiniDFSCluster automatically pick up the correct values.

      Attachments

        1. HDFS-9282.001.patch
          8 kB
          Tony Wu
        2. HDFS-9282.002.patch
          9 kB
          Tony Wu
        3. HDFS-9282.003.patch
          9 kB
          Tony Wu
        4. HDFS-9282.004.patch
          9 kB
          Tony Wu

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment