Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-6386

NameNode's HttpServer can't instantiate InetSocketAddress: IllegalArgumentException is thrown

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.20.2, 0.21.0, 0.22.0
    • Fix Version/s: 0.21.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      Apache Hudson build machine

    • Hadoop Flags:
      Reviewed
    • Release Note:
      Improved initialization sequence so that Port Out of Range error when starting web server will less likely interrupt testing.
    • Tags:
      regression

      Description

      In an execution of a tests the following exception has been thrown:

      Error Message
      
      port out of range:-1
      
      Stacktrace
      java.lang.IllegalArgumentException: port out of range:-1
      	at java.net.InetSocketAddress.<init>(InetSocketAddress.java:118)
      	at org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:371)
      	at org.apache.hadoop.hdfs.server.namenode.NameNode.activate(NameNode.java:313)
      	at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:304)
      	at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:410)
      	at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:404)
      	at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1211)
      	at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:287)
      	at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:131)
      	at org.apache.hadoop.hdfs.server.namenode.TestEditLog.testEditLog(TestEditLog.java:92)
      

        Attachments

        1. testEditLog.html
          20 kB
          Konstantin Boudnik
        2. hdfs-771.patch
          2 kB
          Konstantin Boudnik
        3. hdfs-771.patch
          1 kB
          Konstantin Boudnik
        4. HADOOP-6386.patch
          2 kB
          Konstantin Boudnik
        5. HADOOP-6386-0.20.patch
          2 kB
          Konstantin Boudnik
        6. HADOOP-6386.patch
          2 kB
          Konstantin Boudnik
        7. HADOOP-6386-0.20.patch
          2 kB
          Konstantin Boudnik
        8. HADOOP-6386.patch
          4 kB
          Konstantin Boudnik
        9. HADOOP-6386.patch
          2 kB
          Konstantin Boudnik
        10. HADOOP-6386-0.20.patch
          2 kB
          Konstantin Boudnik
        11. HADOOP-6386.patch
          2 kB
          Konstantin Boudnik

          Issue Links

            Activity

              People

              • Assignee:
                cos Konstantin Boudnik
                Reporter:
                cos Konstantin Boudnik
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: