hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harsh J (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HDFS-2515) start-all.sh namenode createSocketAddr
Date Sun, 30 Oct 2011 16:16:32 GMT

     [ https://issues.apache.org/jira/browse/HDFS-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Harsh J resolved HDFS-2515.

    Resolution: Invalid


This happens when you have not configured "fs.default.name" in core-site.xml and attempt to
start your NameNode without a proper hdfs://host:port schema. The default FS is file:/// and
hence you see this.

Its always a better idea to use the Apache Hadoop HDFS mailing lists in case you are not sure
its a bug, before reporting!

Marking as resolved as am able to run the security branch NN just fine with proper configs
on the classpath.

> start-all.sh namenode createSocketAddr
> --------------------------------------
>                 Key: HDFS-2515
>                 URL: https://issues.apache.org/jira/browse/HDFS-2515
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions:
>         Environment: centos
>            Reporter: 程国强
>   Original Estimate: 5h
>  Remaining Estimate: 5h
> 2011-10-28 10:52:00,083 ERROR org.apache.hadoop.hdfs.server.namenode.NameNode: java.lang.IllegalArgumentException:
Does not contain a valid host:port authority: file:///
> at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:184)
> at org.apache.hadoop.hdfs.server.namenode.NameNode.getAddress(NameNode.java:198)
> at org.apache.hadoop.hdfs.server.namenode.NameNode.getAddress(NameNode.java:228)
> at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:262)
> at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:497)
> at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1268)
> at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1277)

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message