HDFS-9331. Modify TestNameNodeMXBean#testNameNodeMXBeanInfo() to account for filesystem entirely allocated for DFS use. (Tony Wu via lei)
This commit is contained in:
parent
ec414600ed
commit
e2a5441b06
|
@ -1620,6 +1620,9 @@ Release 2.8.0 - UNRELEASED
|
|||
|
||||
HDFS-9007. Fix HDFS Balancer to honor upgrade domain policy. (Ming Ma via lei)
|
||||
|
||||
HDFS-9331. Modify TestNameNodeMXBean#testNameNodeMXBeanInfo() to account for
|
||||
filesystem entirely allocated for DFS use. (Tony Wu via lei)
|
||||
|
||||
OPTIMIZATIONS
|
||||
|
||||
HDFS-8026. Trace FSOutputSummer#writeChecksumChunks rather than
|
||||
|
|
|
@ -136,7 +136,7 @@ public class TestNameNodeMXBean {
|
|||
assertTrue(liveNodes.size() == 2);
|
||||
for (Map<String, Object> liveNode : liveNodes.values()) {
|
||||
assertTrue(liveNode.containsKey("nonDfsUsedSpace"));
|
||||
assertTrue(((Long)liveNode.get("nonDfsUsedSpace")) > 0);
|
||||
assertTrue(((Long)liveNode.get("nonDfsUsedSpace")) >= 0);
|
||||
assertTrue(liveNode.containsKey("capacity"));
|
||||
assertTrue(((Long)liveNode.get("capacity")) > 0);
|
||||
assertTrue(liveNode.containsKey("numBlocks"));
|
||||
|
|
Loading…
Reference in New Issue