Tony Wu created HDFS-9331: ----------------------------- Summary: Modify TestNameNodeMXBean#testNameNodeMXBeanInfo() to account for filesystem entirely allocated for DFS use Key: HDFS-9331 URL: https://issues.apache.org/jira/browse/HDFS-9331 Project: Hadoop HDFS Issue Type: Improvement Components: HDFS, test Affects Versions: 2.7.1 Reporter: Tony Wu Assignee: Tony Wu Priority: Trivial
{{TestNameNodeMXBean#testNameNodeMXBeanInfo}} expects a none-zero nonDFS size. The nonDFS size is defined as: {quote} 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. {quote} It will be possible to fully allocate all spaces in a partition/volume 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)