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

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

    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

        1. HDFS-9331.001.patch
          1 kB
          Tony Wu

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: