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

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

    Details

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

      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

            People

            • Assignee:
              twu Tony Wu
              Reporter:
              twu Tony Wu
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: