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

Modify TestNameNodeMXBean#testNameNodeMXBeanInfo() to account for filesystem entirely allocated for DFS use

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
    • Trivial
    • Resolution: Fixed
    • 2.7.1
    • 2.8.0, 3.0.0-alpha1
    • test
    • None

    Description

      TestNameNodeMXBean#testNameNodeMXBeanInfo expects a none-zero nonDFS size. The nonDFS size is defined as:

      The space that is not used by HDFS. For instance, once you format a new disk to ext4, certain space is used for "lost-and-found" directory and ext4 metadata.

      It will be possible to fully allocate all spaces in a filesystem for DFS use. In which case the nonDFS size will be zero. We can relax the check in the test to account for this case.

      Attachments

        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:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment