Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Duplicate
-
0.23.0
-
None
-
None
-
Linux running JDK 1.6
-
Path issue
Description
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
Attachments
Attachments
Issue Links
- duplicates
-
HADOOP-8087 Paths that start with a double slash cause "No filesystem for scheme: null" errors
- Reopened