You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Kiran Kumar M R (JIRA)" <ji...@apache.org> on 2015/05/08 12:34:00 UTC
[jira] [Resolved] (HADOOP-7418) support for multiple slashes in the
path separator
[ https://issues.apache.org/jira/browse/HADOOP-7418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kiran Kumar M R resolved HADOOP-7418.
-------------------------------------
Resolution: Duplicate
HADOOP-8087 had patch attached recently. Fix for this issue can discussed and closed in that.
> support for multiple slashes in the path separator
> --------------------------------------------------
>
> Key: HADOOP-7418
> URL: https://issues.apache.org/jira/browse/HADOOP-7418
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 0.23.0
> Environment: Linux running JDK 1.6
> Reporter: Sudharsan Sampath
> Priority: Minor
> Labels: BB2015-05-RFC, newbie
> Attachments: HADOOP-7418--20110719.txt, HADOOP-7418.txt, HADOOP-7418.txt, HDFS-1460.txt, HDFS-1460.txt
>
>
> the parsing of the input path string to identify the uri authority conflicts with the file system paths. For instance the following is a valid path in both the linux file system and the hdfs.
> //user/directory1//directory2.
> While this works perfectly fine in the command line for manipulating hdfs, the same fails when specified as the input path for a mapper class with the following expcetion.
> Exception in thread "main" java.net.UnknownHostException: unknown host: user
> at org.apache.hadoop.ipc.Client$Connection.<init>(Client.java:195)
> as the org.apache.hadoop.fs.Path class assumes the string that follows the '//' to be an uri authority
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)