|
@@ -6662,6 +6662,7 @@ public class FSNamesystem implements Namesystem, FSNamesystemMBean,
|
|
.put("infoSecureAddr", node.getInfoSecureAddr())
|
|
.put("infoSecureAddr", node.getInfoSecureAddr())
|
|
.put("xferaddr", node.getXferAddr())
|
|
.put("xferaddr", node.getXferAddr())
|
|
.put("location", node.getNetworkLocation())
|
|
.put("location", node.getNetworkLocation())
|
|
|
|
+ .put("uuid", node.getDatanodeUuid())
|
|
.put("lastContact", getLastContact(node))
|
|
.put("lastContact", getLastContact(node))
|
|
.put("usedSpace", getDfsUsed(node))
|
|
.put("usedSpace", getDfsUsed(node))
|
|
.put("adminState", node.getAdminState().toString())
|
|
.put("adminState", node.getAdminState().toString())
|
|
@@ -6715,6 +6716,7 @@ public class FSNamesystem implements Namesystem, FSNamesystemMBean,
|
|
.put("adminState", node.getAdminState().toString())
|
|
.put("adminState", node.getAdminState().toString())
|
|
.put("xferaddr", node.getXferAddr())
|
|
.put("xferaddr", node.getXferAddr())
|
|
.put("location", node.getNetworkLocation())
|
|
.put("location", node.getNetworkLocation())
|
|
|
|
+ .put("uuid", node.getDatanodeUuid())
|
|
.build();
|
|
.build();
|
|
info.put(node.getXferAddrWithHostname(), innerinfo);
|
|
info.put(node.getXferAddrWithHostname(), innerinfo);
|
|
}
|
|
}
|
|
@@ -6737,6 +6739,7 @@ public class FSNamesystem implements Namesystem, FSNamesystemMBean,
|
|
.<String, Object> builder()
|
|
.<String, Object> builder()
|
|
.put("xferaddr", node.getXferAddr())
|
|
.put("xferaddr", node.getXferAddr())
|
|
.put("location", node.getNetworkLocation())
|
|
.put("location", node.getNetworkLocation())
|
|
|
|
+ .put("uuid", node.getDatanodeUuid())
|
|
.put("underReplicatedBlocks",
|
|
.put("underReplicatedBlocks",
|
|
node.getLeavingServiceStatus().getUnderReplicatedBlocks())
|
|
node.getLeavingServiceStatus().getUnderReplicatedBlocks())
|
|
.put("decommissionOnlyReplicas",
|
|
.put("decommissionOnlyReplicas",
|
|
@@ -6767,6 +6770,7 @@ public class FSNamesystem implements Namesystem, FSNamesystemMBean,
|
|
.<String, Object> builder()
|
|
.<String, Object> builder()
|
|
.put("xferaddr", node.getXferAddr())
|
|
.put("xferaddr", node.getXferAddr())
|
|
.put("location", node.getNetworkLocation())
|
|
.put("location", node.getNetworkLocation())
|
|
|
|
+ .put("uuid", node.getDatanodeUuid())
|
|
.put("underReplicatedBlocks",
|
|
.put("underReplicatedBlocks",
|
|
node.getLeavingServiceStatus().getUnderReplicatedBlocks())
|
|
node.getLeavingServiceStatus().getUnderReplicatedBlocks())
|
|
.put("maintenanceOnlyReplicas",
|
|
.put("maintenanceOnlyReplicas",
|