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 "Hongbing Wang (Jira)" <ji...@apache.org> on 2020/11/05 07:09:00 UTC

[jira] [Updated] (HDFS-15668) Fix RouterRPCMetrics annocation and document misplaced error

     [ https://issues.apache.org/jira/browse/HDFS-15668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hongbing Wang updated HDFS-15668:
---------------------------------
    Summary: Fix RouterRPCMetrics annocation and document misplaced error  (was: Fix RouterRPCMetrics annocation and document error)

> Fix RouterRPCMetrics annocation and document misplaced error
> ------------------------------------------------------------
>
>                 Key: HDFS-15668
>                 URL: https://issues.apache.org/jira/browse/HDFS-15668
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: documentation
>    Affects Versions: 3.2.0
>            Reporter: Hongbing Wang
>            Assignee: Hongbing Wang
>            Priority: Minor
>         Attachments: HDFS-15668.001.patch
>
>
> I found that the description of the two fields: +{{ProxyOpFailureStandby}}+ and +{{ProxyOpFailureCommunicate}}+ in the [website|https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-common/Metrics.html#RouterRPCMetrics] may be misplaced. 
> When I reviewed the code to see the meaning of the two fields, I found that their descriptions were indeed misplaced.
> _Origin code_:
> {code:java}
> @Metric("Number of operations to fail to reach NN")
> private MutableCounterLong proxyOpFailureStandby;
> @Metric("Number of operations to hit a standby NN")
> private MutableCounterLong proxyOpFailureCommunicate;
> {code}
> _They should be_:
> {code:java}
> @Metric("Number of operations to hit a standby NN")
> private MutableCounterLong proxyOpFailureStandby;
> @Metric("Number of operations to fail to reach NN")
> private MutableCounterLong proxyOpFailureCommunicate;
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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