You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "CR Hota (JIRA)" <ji...@apache.org> on 2018/10/24 18:02:00 UTC

[jira] [Created] (HDFS-14024) RBF: ProvidedCapacityTotal json exception in NamenodeHeartbeatService

CR Hota created HDFS-14024:
------------------------------

             Summary: RBF: ProvidedCapacityTotal json exception in NamenodeHeartbeatService
                 Key: HDFS-14024
                 URL: https://issues.apache.org/jira/browse/HDFS-14024
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: CR Hota
            Assignee: CR Hota


Routers may be proxying for a downstream name node that is NOT migrated to understand "ProvidedCapacityTotal". updateJMXParameters method in NamenodeHeartbeatService should handle this without breaking.

 
{code:java}
                jsonObject.getLong("MissingBlocks"),
                jsonObject.getLong("PendingReplicationBlocks"),
                jsonObject.getLong("UnderReplicatedBlocks"),
                jsonObject.getLong("PendingDeletionBlocks"),
                jsonObject.getLong("ProvidedCapacityTotal"));
{code}
One way to do this is create a json wrapper while gives back some default if json node is not found.

 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org