Return-Path: Delivered-To: apmail-lucene-hadoop-user-archive@locus.apache.org Received: (qmail 19705 invoked from network); 3 Mar 2006 05:28:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Mar 2006 05:28:32 -0000 Received: (qmail 34663 invoked by uid 500); 3 Mar 2006 05:29:19 -0000 Delivered-To: apmail-lucene-hadoop-user-archive@lucene.apache.org Received: (qmail 34605 invoked by uid 500); 3 Mar 2006 05:29:19 -0000 Mailing-List: contact hadoop-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-user@lucene.apache.org Delivered-To: mailing list hadoop-user@lucene.apache.org Received: (qmail 34596 invoked by uid 99); 3 Mar 2006 05:29:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Mar 2006 21:29:19 -0800 X-ASF-Spam-Status: No, hits=0.9 required=10.0 tests=HTML_10_20,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of snehal2k@gmail.com designates 64.233.162.201 as permitted sender) Received: from [64.233.162.201] (HELO zproxy.gmail.com) (64.233.162.201) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Mar 2006 21:29:14 -0800 Received: by zproxy.gmail.com with SMTP id s1so620446nze for ; Thu, 02 Mar 2006 21:28:54 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type; b=tKSCC1C7ONXZQVT2BhCfQezxZaU6gFy7n6dr+fS/FqjNkBvI5buxfL34+E/KgZIb1hFTlZnzJKSybt8Xg3MFSrDl7DWDZl0HNGLSe46sg5qFySmyefXUGDSR87G+NgFNJUXhKMcHhx6Fcnlzh6cLiBe4IaB5IIfpnBjtVDmQSH0= Received: by 10.35.49.4 with SMTP id b4mr606717pyk; Thu, 02 Mar 2006 21:28:53 -0800 (PST) Received: by 10.35.71.17 with HTTP; Thu, 2 Mar 2006 21:28:53 -0800 (PST) Message-ID: <200580930603022128v3b7e9f40w83653f875ad1ea4@mail.gmail.com> Date: Fri, 3 Mar 2006 00:28:53 -0500 From: "Snehal Patel" Reply-To: snehal77@gmail.com To: hadoop-user@lucene.apache.org Subject: datanode java.net.SocketException MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3996_6362284.1141363733816" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_3996_6362284.1141363733816 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline hi. i'm trying to get hadoop running in the pseudo distributed configuration and have checked out the latest code and used the instruction= s 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 [ ------=_Part_3996_6362284.1141363733816--