[ https://issues.apache.org/jira/browse/HADOOP-6386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12787688#action_12787688 ]
Konstantin Shvachko commented on HADOOP-6386: --------------------------------------------- This patch is safe to commit and try, IMO. It does not make things worse, aothough it is not clear whether it fixes the problem. Current intuition is that there is something wrong with Jetty. We should look more closely in their code. BTW, the sources for Jetty 6.1 are here http://jetty.mortbay.org/jetty/jetty-6/xref/index.html and they look pretty different from Jetty 5. Since this is critical for PIG I'd recommend committing the workaround for now until the problem is fully investigated. > NameNode's HttpServer can't instantiate InetSocketAddress: > IllegalArgumentException is thrown > --------------------------------------------------------------------------------------------- > > Key: HADOOP-6386 > URL: https://issues.apache.org/jira/browse/HADOOP-6386 > Project: Hadoop Common > Issue Type: Bug > Affects Versions: 0.20.2, 0.21.0, 0.22.0 > Environment: Apache Hudson build machine > Reporter: Konstantin Boudnik > Assignee: Konstantin Boudnik > Priority: Blocker > Attachments: HADOOP-6386-0.20.patch, HADOOP-6386-0.20.patch, > HADOOP-6386-0.20.patch, HADOOP-6386.patch, HADOOP-6386.patch, > HADOOP-6386.patch, HADOOP-6386.patch, HADOOP-6386.patch, hdfs-771.patch, > hdfs-771.patch, testEditLog.html > > > In an execution of a tests the following exception has been thrown: > {noformat} > 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) > {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.