hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Snehal Patel" <sneha...@gmail.com>
Subject datanode java.net.SocketException
Date Fri, 03 Mar 2006 05:28:53 GMT
hi.  i'm trying to get hadoop running in the pseudo distributed
configuration and have checked out the latest code and used the instructions
located in the API:
http://lucene.apache.org/hadoop/docs/api/overview-summary.html

when i execute start-all.sh, the console output displays socket exceptions.
does anyone know what may be going on.  seems like the data node is having
issues connecting to the namenode.  i tried starting the namenode first
which works, and then starting the datanode but it can't seem to send a
heartbeat to the namenode in this single node configuration.  i also tried
running the commands as root.  the output is below:

localhost: starting datanode, logging to
/home/spatel/workspace/hadoop/bin/../logs/hadoop-
spatel-datanode-localhost.localdomain.log
localhost: 060303 001830 parsing
file:/home/spatel/workspace/hadoop/conf/hadoop-default.xml
localhost: 060303 001830 parsing
file:/home/spatel/workspace/hadoop/conf/hadoop-site.xml
localhost: name node addr: localhost/127.0.0.1:9000
localhost: 060303 001830 Opened server at 50010
localhost: LOCALNAME: localhost.localdomain:50010
localhost: 060303 001830 Starting DataNode in: /tmp/hadoop/dfs/data/data
localhost: 060303 001830 using BLOCKREPORT_INTERVAL of 3306830msec
localhost: 060303 001830 Exception: java.net.SocketException: Invalid
argument or cannot assign requested address
localhost: 060303 001830 Lost connection to namenode.  Retrying...
starting namenode, logging to
/home/spatel/workspace/hadoop/bin/../logs/hadoop-
spatel-namenode-localhost.localdomain.log
060303 001831 parsing file:/home/spatel/workspace/hadoop/conf/hadoop-
default.xml
060303 001831 parsing file:/home/spatel/workspace/hadoop/conf/hadoop-
site.xml
060303 001831 Server listener on port 9000: starting
060303 001831 Server handler 0 on 9000: starting
060303 001831 Server handler 1 on 9000: starting
060303 001831 Server handler 2 on 9000: starting
060303 001831 Server handler 3 on 9000: starting
060303 001831 Server handler 4 on 9000: starting
060303 001831 Server handler 5 on 9000: starting
060303 001831 Server handler 6 on 9000: starting
starting jobtracker, logging to
/home/spatel/workspace/hadoop/bin/../logs/hadoop-
spatel-jobtracker-localhost.localdomain.log
060303 001832 parsing file:/home/spatel/workspace/hadoop/conf/hadoop-
default.xml
060303 001832 parsing file:/home/spatel/workspace/hadoop/conf/hadoop-
site.xml
060303 001832 parsing file:/home/spatel/workspace/hadoop/conf/hadoop-
default.xml
060303 001832 parsing file:/home/spatel/workspace/hadoop/conf/mapred-
default.xml
060303 001832 parsing file:/home/spatel/workspace/hadoop/conf/hadoop-
site.xml
060303 001833 Starting tracker
java.net.SocketException: Invalid argument or cannot assign requested
address
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java
:171)
localhost: starting tasktracker, logging to
/home/spatel/workspace/hadoop/bin/../logs/hadoop-
spatel-tasktracker-localhost.localdomain.log
localhost: 060303 001834 parsing
file:/home/spatel/workspace/hadoop/conf/hadoop-default.xml
localhost: 060303 001834 parsing
file:/home/spatel/workspace/hadoop/conf/hadoop-site.xml
localhost: 060303 001834 Starting tracker tracker_99659
localhost: 060303 001834 parsing
file:/home/spatel/workspace/hadoop/conf/hadoop-default.xml
localhost: 060303 001834 parsing
file:/home/spatel/workspace/hadoop/conf/mapred-default.xml
localhost: 060303 001834 parsing
file:/home/spatel/workspace/hadoop/conf/hadoop-site.xml
localhost: 060303 001835 Server listener on port 50050: starting
localhost: 060303 001835 Server handler 0 on 50050: starting
localhost: 060303 001835 Server handler 1 on 50050: starting
localhost: 060303 001835 Server listener on port 50040: starting
[

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