[ https://issues.apache.org/jira/browse/HDFS-5265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jing Zhao updated HDFS-5265: ---------------------------- Resolution: Fixed Fix Version/s: 2.1.2-beta Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) I've committed this to trunk, branch-2, and branch-2.1-beta. > Namenode fails to start when dfs.https.port is unspecified > ---------------------------------------------------------- > > Key: HDFS-5265 > URL: https://issues.apache.org/jira/browse/HDFS-5265 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Haohui Mai > Assignee: Haohui Mai > Fix For: 2.1.2-beta > > Attachments: HDFS-5265.001.patch, HDFS-5265.002.patch > > > Namenode get the wrong address when dfs.https.port is unspecified. > java.lang.IllegalArgumentException: Does not contain a valid host:port > authority: 0.0.0.0:0.0.0.0:0 > at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:212) > at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:163) > at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:152) > at > org.apache.hadoop.hdfs.server.namenode.NameNodeHttpServer.start(NameNodeHttpServer.java:102) > at > org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:633) > at > org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:490) > at > org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:691) > at > org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:676) > at > org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1265) > at > org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1331) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira