[jira] [Updated] (HADOOP-12906) AuthenticatedURL should convert a 404/Not Found into an FileNotFoundException.

2016-03-10 Thread Li Lu (JIRA)

 [ 
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 [~ste...@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)


[jira] [Updated] (HADOOP-12906) AuthenticatedURL should convert a 404/Not Found into an FileNotFoundException.

2016-03-10 Thread Li Lu (JIRA)

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

Li Lu updated HADOOP-12906:
---
Summary: AuthenticatedURL should convert a 404/Not Found into an 
FileNotFoundException.   (was: AuthenticatedURL translates a 404/Not Found into 
an AuthenticationException. It isn't)

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