hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene Weinstein" <euge...@cs.nyu.edu>
Subject Re: Trying to bind to port -1
Date Thu, 15 Feb 2007 01:13:58 GMT
Thanks, that worked. Sorry, it does say to do this on the wiki. Also, sorry
if my message got posted twice.

Eugene

On 2/14/07, David Bowen <dbowen@yahoo-inc.com> wrote:
>
>
> Did you set fs.default.name in hadoop-site.xml?  The default is
> "file:///" which causes the exception that you are getting.
>
> You can use the old style e.g. "localhost:8020" or new-style
> "hdfs://localhost:8020/".
>
> - David
>
> Eugene Weinstein wrote:
> > Hi there,
> >
> > I'm a new user of Hadoop and I am having trouble getting the single-node
> > cluster to run. I'm following the instructions on the wiki, but I'm
> > getting
> > the following error in the log file:
> >
> > 2007-02-14 19:36:34,887 ERROR org.apache.hadoop.dfs.DataNode:
> > java.lang.IllegalArgumentException: port out of range:-1
> >        at java.net.InetSocketAddress.<init>(InetSocketAddress.java:118)
> >        at org.apache.hadoop.dfs.DataNode.createSocketAddr(DataNode.java
> > :104)
> >        at org.apache.hadoop.dfs.DataNode.<init>(DataNode.java:178)
> >        at org.apache.hadoop.dfs.DataNode.makeInstance(DataNode.java
> :1133)
> >        at org.apache.hadoop.dfs.DataNode.run(DataNode.java:1061)
> >        at org.apache.hadoop.dfs.DataNode.runAndWait(DataNode.java:1091)
> >        at org.apache.hadoop.dfs.DataNode.main(DataNode.java:1255)
> >
> > I think maybe what's happening is that Hadoop is not finding the
> > hadoop-default.xml file and the -1 is a default value. In fact, when I
> > move
> > hadoop-default.xml into a different location, the output is the same.
> > I have
> > followed the instructions on the wiki with regard to setting environment
> > variables and everything else. If anybody knows how to fix this,
> > please let
> > me know.
> >
> > Thanks,
> > Eugene
> >
>
>

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