Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-908

TestDistributedFileSystem fails with Wrong FS on weird hosts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.20.1
    • 0.20.3
    • test
    • None
    • Reviewed

    Description

      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.

      Attachments

        1. hdfs-908.txt
          1 kB
          Todd Lipcon
        2. hdfs-908.txt
          1 kB
          Todd Lipcon

        Activity

          People

            tlipcon Todd Lipcon
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: