Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via hadoop-hdfs-dev by Apache Hudson Server, 1 year ago
via Oracle Community by crytal123, 1 year ago
via Google Groups by Scott Vlaminck, 2 years ago
port out of range:-1
via coderanch.com by Unknown author, 2 years ago
via Coderanch by Chris Stabler, 1 year ago
via Eclipse Bugzilla by paulslau, 1 year ago
java.lang.IllegalArgumentException: port out of range:-1	at java.net.InetSocketAddress.(InetSocketAddress.java:118)	at org.apache.hadoop.hdfs.server.namenode.NameNode$1.run(NameNode.java:521)	at org.apache.hadoop.hdfs.server.namenode.NameNode$1.run(NameNode.java:461)	at java.security.AccessController.doPrivileged(Native Method)	at javax.security.auth.Subject.doAs(Subject.java:396)	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1138)	at org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:461)	at org.apache.hadoop.hdfs.server.namenode.NameNode.activate(NameNode.java:405)	at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:389)	at org.apache.hadoop.hdfs.server.namenode.NameNode.(NameNode.java:578)	at org.apache.hadoop.hdfs.server.namenode.NameNode.(NameNode.java:571)	at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1534)	at org.apache.hadoop.hdfs.MiniDFSCluster.initMiniDFSCluster(MiniDFSCluster.java:461)	at org.apache.hadoop.hdfs.MiniDFSCluster.(MiniDFSCluster.java:186)	at org.apache.hadoop.hdfs.MiniDFSCluster.(MiniDFSCluster.java:71)	at org.apache.hadoop.hdfs.MiniDFSCluster$Builder.build(MiniDFSCluster.java:178)	at org.apache.hadoop.hdfs.TestFileAppend4.__CLR3_0_21z1ppcy4i(TestFileAppend4.java:151)	at org.apache.hadoop.hdfs.TestFileAppend4.testRecoverFinalizedBlock(TestFileAppend4.java:150)