TestDistributedFileSystem fails with Wrong FS on weird hosts
------------------------------------------------------------

                 Key: HDFS-908
                 URL: https://issues.apache.org/jira/browse/HDFS-908
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: test
    Affects Versions: 0.20.1
            Reporter: Todd Lipcon


On the same host where I experienced HDFS-874, I also experience this failure 
for TestDistributedFileSystem:

Testcase: testFileChecksum took 0.492 sec
  Caused an ERROR
Wrong FS: hftp://localhost.localdomain:59782/filechecksum/foo0, expected: 
hftp://127.0.0.1:59782
java.lang.IllegalArgumentException: Wrong FS: 
hftp://localhost.localdomain:59782/filechecksum/foo0, expected: 
hftp://127.0.0.1:59782
  at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:310)
  at org.apache.hadoop.fs.FileSystem.makeQualified(FileSystem.java:222)
  at 
org.apache.hadoop.hdfs.HftpFileSystem.getFileChecksum(HftpFileSystem.java:318)
  at 
org.apache.hadoop.hdfs.TestDistributedFileSystem.testFileChecksum(TestDistributedFileSystem.java:166)

Doesn't appear to occur on trunk or branch-0.21.

-- 
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