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

Harsh J resolved HDFS-2515.
---------------------------

    Resolution: Invalid

Hi,

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.

Regards,
Harsh
                
> 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: 0.20.205.0
>         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


Reply via email to