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

TestHDFSFileContextMainOperations fails on weirdly configured DNS hosts

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.22.0
    • Fix Version/s: 0.22.0
    • Component/s: hdfs-client, test
    • Labels:
      None
    • Hadoop Flags:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: