You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Todd Lipcon (Created) (JIRA)" <ji...@apache.org> on 2011/12/14 04:04:36 UTC

[jira] [Created] (HADOOP-7922) HA: Improve some logging for client IPC failovers and StandbyExceptions

HA: Improve some logging for client IPC failovers and StandbyExceptions
-----------------------------------------------------------------------

                 Key: HADOOP-7922
                 URL: https://issues.apache.org/jira/browse/HADOOP-7922
             Project: Hadoop Common
          Issue Type: Sub-task
          Components: ha, ipc
    Affects Versions: HA Branch (HDFS-1623)
            Reporter: Todd Lipcon
            Assignee: Todd Lipcon
            Priority: Trivial


Simple tweaks to make the logging less verbose during failover scenarios:
- client should log a message before it sleeps for retry, including how long it plans to retry and whether it will failover
- server shouldn't log full stack trace when it throws StandbyExceptions, since they're a "normal part of doing business"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (HADOOP-7922) HA: Improve some logging for client IPC failovers and StandbyExceptions

Posted by "Todd Lipcon (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Lipcon resolved HADOOP-7922.
---------------------------------

       Resolution: Fixed
    Fix Version/s: HA Branch (HDFS-1623)
     Hadoop Flags: Reviewed

Committed to branch, thanks Aaron for the review
                
> HA: Improve some logging for client IPC failovers and StandbyExceptions
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-7922
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7922
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: ha, ipc
>    Affects Versions: HA Branch (HDFS-1623)
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Trivial
>             Fix For: HA Branch (HDFS-1623)
>
>         Attachments: hadoop-7922.txt
>
>
> Simple tweaks to make the logging less verbose during failover scenarios:
> - client should log a message before it sleeps for retry, including how long it plans to retry and whether it will failover
> - server shouldn't log full stack trace when it throws StandbyExceptions, since they're a "normal part of doing business"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HADOOP-7922) HA: Improve some logging for client IPC failovers and StandbyExceptions

Posted by "Todd Lipcon (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Lipcon updated HADOOP-7922:
--------------------------------

    Attachment: hadoop-7922.txt
    
> HA: Improve some logging for client IPC failovers and StandbyExceptions
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-7922
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7922
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: ha, ipc
>    Affects Versions: HA Branch (HDFS-1623)
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Trivial
>         Attachments: hadoop-7922.txt
>
>
> Simple tweaks to make the logging less verbose during failover scenarios:
> - client should log a message before it sleeps for retry, including how long it plans to retry and whether it will failover
> - server shouldn't log full stack trace when it throws StandbyExceptions, since they're a "normal part of doing business"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-7922) HA: Improve some logging for client IPC failovers and StandbyExceptions

Posted by "Aaron T. Myers (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13169038#comment-13169038 ] 

Aaron T. Myers commented on HADOOP-7922:
----------------------------------------

+1, the patch looks good to me. Thanks for doing this, Todd.
                
> HA: Improve some logging for client IPC failovers and StandbyExceptions
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-7922
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7922
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: ha, ipc
>    Affects Versions: HA Branch (HDFS-1623)
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Trivial
>         Attachments: hadoop-7922.txt
>
>
> Simple tweaks to make the logging less verbose during failover scenarios:
> - client should log a message before it sleeps for retry, including how long it plans to retry and whether it will failover
> - server shouldn't log full stack trace when it throws StandbyExceptions, since they're a "normal part of doing business"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-7922) HA: Improve some logging for client IPC failovers and StandbyExceptions

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13169551#comment-13169551 ] 

Hudson commented on HADOOP-7922:
--------------------------------

Integrated in Hadoop-Hdfs-HAbranch-build #16 (See [https://builds.apache.org/job/Hadoop-Hdfs-HAbranch-build/16/])
    HADOOP-7922. Improve some logging for client IPC failovers and StandbyExceptions. Contributed by Todd Lipcon.

todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1214082
Files : 
* /hadoop/common/branches/HDFS-1623/hadoop-common-project/hadoop-common/CHANGES.HDFS-1623.txt
* /hadoop/common/branches/HDFS-1623/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/retry/RetryInvocationHandler.java
* /hadoop/common/branches/HDFS-1623/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Server.java

                
> HA: Improve some logging for client IPC failovers and StandbyExceptions
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-7922
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7922
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: ha, ipc
>    Affects Versions: HA Branch (HDFS-1623)
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Trivial
>             Fix For: HA Branch (HDFS-1623)
>
>         Attachments: hadoop-7922.txt
>
>
> Simple tweaks to make the logging less verbose during failover scenarios:
> - client should log a message before it sleeps for retry, including how long it plans to retry and whether it will failover
> - server shouldn't log full stack trace when it throws StandbyExceptions, since they're a "normal part of doing business"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira