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

TestHDFSFileContextMainOperations fails on weirdly configured DNS hosts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.22.0
    • 0.22.0
    • hdfs-client, test
    • None
    • Reviewed

    Description

      On an internal build machine I see exceptions like this:
      java.lang.IllegalArgumentException: Wrong FS: hdfs://localhost:47262/data/1/scratch/patchqueue/patch-worker-20518/patch_21/svnrepo/build/test/data/test/test/testRenameWithQuota/srcdir, expected: hdfs://localhost.localdomain:47262

      "hostname" and "hostname -f" both show the machine's FQDN (not localhost). /etc/hosts is stock after CentOS 5 install. "host 127.0.0.1" reverses to "localhost"

      Attachments

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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: