[ 
https://issues.apache.org/jira/browse/HDFS-771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12780808#action_12780808
 ] 

Konstantin Boudnik commented on HDFS-771:
-----------------------------------------

I've ran few hundreds iterations of bringing up and shutting down the 
MiniDFSCluster with and without this patch in place and haven't see a single 
issue. Which doesn't prove though that the patch doesn't work :-(

> NameNode's HttpServer can't instantiate InetSocketAddress: 
> IllegalArgumentException is thrown
> ---------------------------------------------------------------------------------------------
>
>                 Key: HDFS-771
>                 URL: https://issues.apache.org/jira/browse/HDFS-771
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.22.0
>         Environment: Apache Hudson build machine
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>            Priority: Blocker
>         Attachments: 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.

Reply via email to