hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Li Lu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-12906) AuthenticatedURL should convert a 404/Not Found into an FileNotFoundException.
Date Thu, 10 Mar 2016 19:42:40 GMT

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

Li Lu updated HADOOP-12906:
---------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: 2.9.0
           Status: Resolved  (was: Patch Available)

I committed this patch into trunk and branch-2. Thanks [~stevel@apache.org] for the work and
[~liuml07] for the quick review! Given the fact that this patch is small, I'm also fine with
cherry-picking it to branch-2.8. 

> AuthenticatedURL should convert a 404/Not Found into an FileNotFoundException. 
> -------------------------------------------------------------------------------
>
>                 Key: HADOOP-12906
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12906
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: io, security
>    Affects Versions: 2.8.0
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Minor
>             Fix For: 2.9.0
>
>         Attachments: HADOOP-12906-001.patch
>
>
> If you ask for a URL that isn't there, {{AuthenticatedURL}} raises an exception saying
you are unauthed. 
> It's not checking the response code; 404 is an error all of its own, which can be uprated
as a FileNotFound Exception.



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

Mime
View raw message