[
https://issues.apache.org/jira/browse/HADOOP-5259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Koji Noguchi updated HADOOP-5259:
---------------------------------
Attachment: HADOOP-5259-withtest.patch
Thanks Doug! (and sorry for my late response.)
Your patch fixed the error.
Attaching your patch with one small testcase.
Without your patch, test fails with
{noformat}
TTestcase: testWithDFSWithDefaultPort took 41.252 sec
Caused an ERROR
Wrong FS: hdfs:/wc/output2, expected: hdfs://localhost
java.lang.IllegalArgumentException: Wrong FS: hdfs:/wc/output2, expected:
hdfs://localhost
at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:292)
at
org.apache.hadoop.hdfs.DistributedFileSystem.checkPath(DistributedFileSystem.java:98)
at
org.apache.hadoop.hdfs.DistributedFileSystem.getPathName(DistributedFileSystem.java:159)
at
org.apache.hadoop.hdfs.DistributedFileSystem.delete(DistributedFileSystem.java:230)
at
org.apache.hadoop.mapred.TestMiniMRWithDFS.launchWordCount(TestMiniMRWithDFS.java:69)
at
org.apache.hadoop.mapred.TestMiniMRWithDFS.testWithDFSWithDefaultPort(TestMiniMRWithDFS.java:282)
{noformat}
With your patch, test passed.
> Job with output hdfs:/user/<username>/outputpath (no authority) fails with
> Wrong FS
> -----------------------------------------------------------------------------------
>
> Key: HADOOP-5259
> URL: https://issues.apache.org/jira/browse/HADOOP-5259
> Project: Hadoop Core
> Issue Type: Bug
> Components: dfs, fs
> Affects Versions: 0.18.0, 0.18.1, 0.18.2, 0.18.3, 0.19.0
> Reporter: Koji Noguchi
> Assignee: Doug Cutting
> Attachments: HADOOP-5259-withtest.patch, HADOOP-5259.patch
>
>
> Using namenode with default port of 8020.
> When starting a job with output hdfs:/user/knoguchi/outputpath, my job fails
> with
> Wrong FS: hdfs:/user/knoguchi/outputpath, expected: hdfs://aaa.bbb.cc
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.