You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Sudharsan Sampath (JIRA)" <ji...@apache.org> on 2010/10/18 12:06:30 UTC

[jira] Created: (HDFS-1460) support for multiple slashes in the path separator

support for multiple slashes in the path separator
--------------------------------------------------

                 Key: HDFS-1460
                 URL: https://issues.apache.org/jira/browse/HDFS-1460
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: hdfs client
    Affects Versions: 0.20.1
         Environment: Linux running JDK 1.6
            Reporter: Sudharsan Sampath
            Priority: Minor


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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.