Hadoop Common
  1. Hadoop Common
  2. HADOOP-5191

After creation and startup of the hadoop namenode on AIX or Solaris, you will only be allowed to connect to the namenode via hostname but not IP.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.19.1
    • Fix Version/s: 0.21.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      AIX 6.1 or Solaris

    • Release Note:
      Accessing HDFS with any ip, hostname, or proxy should work as long as it points to the interface NameNode is listening on.

      Description

      After creation and startup of the hadoop namenode on AIX or Solaris, you will only be allowed to connect to the namenode via hostname but not IP.

      fs.default.name=hdfs://p520aix61.mydomain.com:9000
      Hostname for box is p520aix and the IP is 10.120.16.68

      If you use the following url, "hdfs://10.120.16.68", to connect to the namenode, the exception that appears below occurs. You can only connect successfully if "hdfs://p520aix61.mydomain.com:9000" is used.

      Exception in thread "Thread-0" java.lang.IllegalArgumentException: Wrong FS: hdfs://10.120.16.68:9000/testdata, expected: hdfs://p520aix61.mydomain.com:9000
      at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:320)
      at org.apache.hadoop.dfs.DistributedFileSystem.checkPath(DistributedFileSystem.java:84)
      at org.apache.hadoop.dfs.DistributedFileSystem.getPathName(DistributedFileSystem.java:122)
      at org.apache.hadoop.dfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:390)
      at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:667)
      at TestHadoopHDFS.run(TestHadoopHDFS.java:116)

      1. TestHadoopHDFS.java
        5 kB
        Bill Habermaas
      2. HADOOP-5191.patch
        1 kB
        Raghu Angadi
      3. HADOOP-5191.patch
        2 kB
        Raghu Angadi
      4. hadoop-5191.patch
        2 kB
        Bill Habermaas
      5. 5191-1.patch
        5 kB
        Bill Habermaas

        Issue Links

          Activity

          Tom White made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Owen O'Malley made changes -
          Component/s dfs [ 12310710 ]
          Bill Habermaas made changes -
          Link This issue relates to HADOOP-5610 [ HADOOP-5610 ]
          Raghu Angadi made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Release Note Accessing HDFS with any ip or hostname should work as long as it points to the interface NameNode is listening on. Accessing HDFS with any ip, hostname, or proxy should work as long as it points to the interface NameNode is listening on.
          Resolution Fixed [ 1 ]
          Raghu Angadi made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Release Note Accessing HDFS with any ip or hostname should work as long as it points to the interface NameNode is listening on.
          Fix Version/s 0.21.0 [ 12313563 ]
          Raghu Angadi made changes -
          Attachment HADOOP-5191.patch [ 12403540 ]
          Raghu Angadi made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Raghu Angadi made changes -
          Assignee Bill Habermaas [ bhabermaas ] Raghu Angadi [ rangadi ]
          Raghu Angadi made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Raghu Angadi made changes -
          Attachment HADOOP-5191.patch [ 12401788 ]
          Bill Habermaas made changes -
          Attachment TestHadoopHDFS.java [ 12401748 ]
          Bill Habermaas made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Bill Habermaas made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Affects Version/s 0.19.1 [ 12313473 ]
          Affects Version/s 0.18.2 [ 12313424 ]
          Assignee Bill Habermaas [ bhabermaas ]
          Bill Habermaas made changes -
          Attachment 5191-1.patch [ 12401452 ]
          Bill Habermaas made changes -
          Field Original Value New Value
          Attachment hadoop-5191.patch [ 12400022 ]
          Bill Habermaas created issue -

            People

            • Assignee:
              Raghu Angadi
              Reporter:
              Bill Habermaas
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development