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

Konstantin Shvachko commented on HDFS-14262:
--------------------------------------------

The message is much clearer now. We can probably use slf4j formatting here, like
{code:java}
LOG.warn("... client stateId: {} ... server stateId: {} ...", clientStateId, 
serverStateId);
{code}

> [SBN read] Unclear Log.WARN message in GlobalStateIdContext
> -----------------------------------------------------------
>
>                 Key: HDFS-14262
>                 URL: https://issues.apache.org/jira/browse/HDFS-14262
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: hdfs
>            Reporter: Shweta
>            Assignee: Shweta
>            Priority: Major
>         Attachments: HDFS-14262.001.patch
>
>
> The check clientStateId > serverStateId during active HA status might never 
> occur and the log message is pretty unclear, should it throw an Exception 
> instead?



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to