HDFS-14024. RBF: ProvidedCapacityTotal json exception in NamenodeHeartbeatService. Contributed by CR Hota.

This commit is contained in:
Inigo Goiri 2018-11-01 11:49:33 -07:00 committed by Brahma Reddy Battula
parent c5065bf20b
commit 7b0bc492ed

View File

@ -351,7 +351,7 @@ private void updateJMXParameters(
jsonObject.getLong("PendingReplicationBlocks"), jsonObject.getLong("PendingReplicationBlocks"),
jsonObject.getLong("UnderReplicatedBlocks"), jsonObject.getLong("UnderReplicatedBlocks"),
jsonObject.getLong("PendingDeletionBlocks"), jsonObject.getLong("PendingDeletionBlocks"),
jsonObject.getLong("ProvidedCapacityTotal")); jsonObject.optLong("ProvidedCapacityTotal"));
} }
} }
} }