[ 
https://issues.apache.org/jira/browse/HADOOP-5901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770181#action_12770181
 ] 

Aaron Kimball commented on HADOOP-5901:
---------------------------------------

Konstantin, changing {{setDefaultURI()}} to throw an IOException is an 
incompatible interface change for {{FileSystem}}. I'm not strictly against 
doing this, but I thought that it was frowned upon. Code in other places (e.g., 
{{GenericOptionsParser}}) which uses {{setDefaultURI}} will need to be modified 
at the same time. I had spoken with Doug offline and he suggested converting to 
IllegalArgumentException for that reason. Do you still think the public 
interface change is a good idea?

> FileSystem.fixName() has unexpected behaviour
> ---------------------------------------------
>
>                 Key: HADOOP-5901
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5901
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.21.0
>            Reporter: Steve Loughran
>            Assignee: Aaron Kimball
>            Priority: Minor
>         Attachments: HADOOP-5901.patch
>
>
> {{FileSystem.fixName()}} tries to patch up fs.default.name values, but I'm 
> not sure it helps that well. 
> Has it been warning about deprecated values for long enough for it to be 
> turned off? 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to