hadoop-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Weiwei Li <hadoop...@gmail.com>
Subject Re: DFS error
Date Mon, 11 Oct 2010 11:52:08 GMT
How about change localhost to 129.110.31.40?

2010/10/10 David Lary <davidlary@gmail.com>

> Thanks,
>
> conf/masters contains:
>
> localhost
>
> David
>
> On Oct 9, 2010, at 6:14 AM, elton sky wrote:
>
> > looks like hadoop couldn't find the uri of your second name node. what's
> in
> > your conf/master?
> >
> > On Sat, Oct 9, 2010 at 7:01 AM, David Lary <davidlary@gmail.com> wrote:
> >
> >> Please can someone help.
> >>
> >> Tried to set up pseudo-distributed mode for DFS. When I do start-dfs.sh
> I
> >> get the error message below, and am not sure what it means. Any help
> would
> >> be most appreciated.
> >>
> >> Thanks
> >>
> >> David
> >>
> >> The conf/hdfs-site.xml file contains:
> >> <configuration>
> >>       <property>
> >>               <name>fs.defaults.name</name>
> >>               <value>hdfs://localhost:8020</value>
> >>       </property>
> >> </configuration>
> >>
> >>
> >>
> >> $ start-dfs.sh
> >> starting namenode, logging to
> >>
> /Users/davidlary/hadoop-0.20.2/bin/../logs/hadoop-davidlary-namenode-129.110.31.40.out
> >> localhost: starting datanode, logging to
> >>
> /Users/davidlary/hadoop-0.20.2/bin/../logs/hadoop-davidlary-datanode-129.110.31.40.out
> >> localhost: starting secondarynamenode, logging to
> >>
> /Users/davidlary/hadoop-0.20.2/bin/../logs/hadoop-davidlary-secondarynamenode-129.110.31.40.out
> >> localhost: Exception in thread "main" java.lang.NullPointerException
> >> localhost:      at
> >> org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:134)
> >> localhost:      at
> >>
> org.apache.hadoop.hdfs.server.namenode.NameNode.getAddress(NameNode.java:156)
> >> localhost:      at
> >>
> org.apache.hadoop.hdfs.server.namenode.NameNode.getAddress(NameNode.java:160)
> >> localhost:      at
> >>
> org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.initialize(SecondaryNameNode.java:131)
> >> localhost:      at
> >>
> org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.<init>(SecondaryNameNode.java:115)
> >> localhost:      at
> >>
> org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.main(SecondaryNameNode.java:469)
> >>
> >>
> >>
> >>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message