hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron T. Myers (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-7928) HA: Client failover policy is incorrectly trying to fail over all IOExceptions
Date Fri, 16 Dec 2011 01:43:31 GMT

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

Aaron T. Myers updated HADOOP-7928:
-----------------------------------

    Attachment: HADOOP-7928-HDFS-1623.patch

Here's a patch which addresses the issue.
                
> HA: Client failover policy is incorrectly trying to fail over all IOExceptions
> ------------------------------------------------------------------------------
>
>                 Key: HADOOP-7928
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7928
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: ha, ipc
>    Affects Versions: HA Branch (HDFS-1623)
>            Reporter: Todd Lipcon
>            Assignee: Aaron T. Myers
>            Priority: Blocker
>         Attachments: HADOOP-7928-HDFS-1623.patch
>
>
> In the {{FailoverOnNetworkExceptionRetry}} implementation, we're returning FAILOVER_AND_RETRY
for any IOException, so long as the call is idempotent. So, for example, {{getFileInfo}} on
a file you don't have access to throws AccessControlException which incorrectly triggers a
failover. We should not failover on RemoteExceptions unless they are StandbyException.

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

        

Mime
View raw message