hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "CR Hota (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-14024) RBF: ProvidedCapacityTotal json exception in NamenodeHeartbeatService
Date Thu, 01 Nov 2018 05:45:00 GMT

    [ https://issues.apache.org/jira/browse/HDFS-14024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16671139#comment-16671139

CR Hota commented on HDFS-14024:

[~elgoiri] This change is fairly simple and isolated. May be we can resolve this as is and
open a separate ticket to add extensive tests for whole of jmxparams. It may need couple of
modifications to the code itself to make it testable.

Thoughts ?

> 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
>            Priority: Major
>         Attachments: HDFS-14024-HDFS-13891.0.patch, HDFS-14024.0.patch
> 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

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

View raw message