FAQ
[ https://issues.apache.org/jira/browse/HADOOP-6386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konstantin Boudnik reopened HADOOP-6386:
----------------------------------------


I keep seeing this problem surfacing here and again.

Looks like the offered workaround hasn't worked (as well as HADOOP-4744 didn't have a chance) because {{webServer.getConnectors()[0].getLocalPort()}} returns positive value while the control is inside of HttpServer object. However, it returns -1 when is inqueried from outside.
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
Fix For: 0.20.2, 0.21.0, 0.22.0

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.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-dev @
categorieshadoop
postedDec 16, '09 at 8:52p
activeDec 16, '09 at 8:52p
posts1
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Konstantin Boudnik (JIRA): 1 post

People

Translate

site design / logo © 2022 Grokbase