HDFS-14024. RBF: ProvidedCapacityTotal json exception in NamenodeHeartbeatService. Contributed by CR Hota.
This commit is contained in:
parent
ab38e37523
commit
d2d214817d
@ -351,7 +351,7 @@ private void updateJMXParameters(
|
||||
jsonObject.getLong("PendingReplicationBlocks"),
|
||||
jsonObject.getLong("UnderReplicatedBlocks"),
|
||||
jsonObject.getLong("PendingDeletionBlocks"),
|
||||
jsonObject.getLong("ProvidedCapacityTotal"));
|
||||
jsonObject.optLong("ProvidedCapacityTotal"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user