Hi Jeff, Instead of localhost,mention the host-name of Primary namenod.
On Wed, Jun 27, 2012 at 3:46 AM, Jeffrey Silverman <jeffsilver...@google.com > wrote: > I am working with hadoop for the first time, and I am following > instructions at > http://www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-single-node-cluster/ > > > I am having problems starting the secondarynamenode daemon. The error > message in > /var/log/hadoop/hduser/hadoop-hduser-secondarynamenode-master.out is > > Exception in thread "main" java.lang.IllegalArgumentException: Does not > contain a valid host:port authority: file:/// > at > org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:162) > 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.getServiceAddress(NameNode.java:222) > at > org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.initialize(SecondaryNameNode.java:161) > at > org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.<init>(SecondaryNameNode.java:129) > at > org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.main(SecondaryNameNode.java:567) > > > > I googled the error message and came across HDFS-2515, which says that I > might get that error message if the fs.default.name property name had an > incorrect value, but I think my value is okay. > > My core-site.xml file is : > > <?xml version="1.0"?> > <?xml-stylesheet type="text/xsl" href="configuration.xsl"?> > > <!-- Put site-specific property overrides in this file. --> > > <configuration> > <property> > <name>hadoop.tmp.dir</name> > <value>/home/hduser/tmp</value> > <description>A base for other temporary directories.</description> > </property> > > <property> > <name>fs.default.name</name> > <value>hdfs://localhost:54310</value> > <description>The name of the default file system. A URI whose > scheme and authority determine the FileSystem implementation. The > uri's scheme determines the config property (fs.SCHEME.impl) naming > the FileSystem implementation class. The uri's authority is used to > determine the host, port, etc. for a filesystem.</description> > </property> > </configuration> > ~ > > Does anybody have a suggestion for how to further troubleshoot this > problem, please? > > > Thank you, > > > Jeff Silverman > > -- Regards, Varun Kumar.P