HDFS-9331. Modify TestNameNodeMXBean#testNameNodeMXBeanInfo() to account for filesystem entirely allocated for DFS use. (Tony Wu via lei)
(cherry picked from commit e2a5441b06
)
This commit is contained in:
parent
6d92778191
commit
8ed1fd2171
|
@ -773,6 +773,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