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 "Ayush Saxena (JIRA)" <ji...@apache.org> on 2018/11/25 13:35:00 UTC

[jira] [Updated] (HDFS-14094) Fix the order of logging arguments in ObserverReadProxyProvider.

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

Ayush Saxena updated HDFS-14094:
--------------------------------
    Attachment: HDFS-14094-HDFS-12943-01.patch

> Fix the order of logging arguments in ObserverReadProxyProvider.
> ----------------------------------------------------------------
>
>                 Key: HDFS-14094
>                 URL: https://issues.apache.org/jira/browse/HDFS-14094
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: logging
>    Affects Versions: HDFS-12943
>            Reporter: Konstantin Shvachko
>            Priority: Major
>         Attachments: HDFS-14094-HDFS-12943-01.patch
>
>
> [~zero45] finding from HDFS-14067
> In ObserverReadProxyProvider there is a warn message:
> {code:java}
>         LOG.warn("{} observers have failed for read request {}; also found " +
>             "{} standby and {} active. Falling back to active.",
>             failedObserverCount, standbyCount, activeCount, method.getName());
> {code}
> Seems the arguments are out of order, should probably be {{failedObserverCount, method.getName(), standbyCount, activeCoun}}`.



--
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