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

Steve Loughran commented on HADOOP-5901:
----------------------------------------

examples
{code}
fixName("") = "hdfs://" // invalid URI at parse time
fixName("/something-with-a-slash")  = "/something-with-a-slash" // invalid URI 
at parse time

where it does work is mapping "local" to "file:///" and  
fixName("real-hostname") -> "hdfs://real-hostname". 

If it is to be retained, the empty string and / handing should be looked at and 
ideally dropped. 

> FileSystem.fixName() has unexpected behaviour
> ---------------------------------------------
>
>                 Key: HADOOP-5901
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5901
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.21.0
>            Reporter: Steve Loughran
>            Priority: Minor
>
> {{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