hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Shvachko (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-6386) NameNode's HttpServer can't instantiate InetSocketAddress: IllegalArgumentException is thrown
Date Mon, 30 Nov 2009 18:01:21 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-6386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12783766#action_12783766
] 

Konstantin Shvachko commented on HADOOP-6386:
---------------------------------------------

My understanding was that {{getPort()}} is called before the server actually started, because
{{HttpServer.start()}} is asynchronous. Therefore I believe {{isStarted()}} should help. Do
you think it's a different problem?

> 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.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.


Mime
View raw message