hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-15809) ABFS: better exception handling when making getAccessToken call
Date Fri, 05 Oct 2018 10:31:00 GMT

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

Steve Loughran updated HADOOP-15809:
------------------------------------
    Parent Issue: HADOOP-15407  (was: HADOOP-15763)

> ABFS: better exception handling when making getAccessToken call
> ---------------------------------------------------------------
>
>                 Key: HADOOP-15809
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15809
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/azure
>    Affects Versions: 3.2.0
>            Reporter: Da Zhou
>            Assignee: Da Zhou
>            Priority: Major
>             Fix For: 3.2.0
>
>         Attachments: HADOOP-15809-001.patch, HADOOP-15809-002.patch
>
>
> Currently in *getTokenSingleCall()*: if it get a HTTP failure response, it tries to consume
inputStream in httpUrlConnection, which will *always* lead to an *IOException* and this exception
never get checked in *AzureADAuthenticator*. 
>  As a result the httpStatus code is never checked in the retry policy of AzureADAuthenticator.
Tthat IOException will be caught by AbfsRestOperation, which will keep on retrying.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message