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 "Harsh J (JIRA)" <ji...@apache.org> on 2015/03/31 04:48:53 UTC

[jira] [Updated] (HDFS-3918) EditLogTailer shouldn't log WARN when other node is in standby mode

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

Harsh J updated HDFS-3918:
--------------------------
          Resolution: Fixed
       Fix Version/s: 2.8.0
    Target Version/s:   (was: 3.0.0, 2.0.3-alpha)
        Hadoop Flags: Reviewed
              Status: Resolved  (was: Patch Available)

Sorry on delay here - I recalled this after having read a NN log for troubleshooting earlier today. Verified the improvement (and the patch) still applies cleanly, and committed to branch-2 and trunk. Thanks again Todd!

> EditLogTailer shouldn't log WARN when other node is in standby mode
> -------------------------------------------------------------------
>
>                 Key: HDFS-3918
>                 URL: https://issues.apache.org/jira/browse/HDFS-3918
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: ha
>    Affects Versions: 2.0.3-alpha
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: 2.8.0
>
>         Attachments: hdfs-3918.txt
>
>
> If both nodes are in standby mode, each will be trying to roll the others' logs, which results in errors like:
> Unable to trigger a roll of the active NN 
> org.apache.hadoop.ipc.StandbyException: Operation category JOURNAL is not supported in state standby
> We should catch this specific exception and not log it at WARN level, since it's expected behavior.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)