Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 79849 invoked from network); 27 May 2008 01:47:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 May 2008 01:47:27 -0000 Received: (qmail 52346 invoked by uid 500); 27 May 2008 01:47:27 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 52335 invoked by uid 500); 27 May 2008 01:47:27 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 52324 invoked by uid 99); 27 May 2008 01:47:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 May 2008 18:47:27 -0700 X-ASF-Spam-Status: No, hits=3.5 required=10.0 tests=SPF_PASS,URIBL_BLACK,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [200.9.176.5] (HELO ceibo.fiec.espol.edu.ec) (200.9.176.5) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 May 2008 01:46:38 +0000 MailScanner-NULL-Check: 1212457656.90605@5v8bZbPuEPXADo6H3kWRLA Received: from ceibo.fiec.espol.edu.ec (ceibo.fiec.espol.edu.ec [200.9.176.5]) by ceibo.fiec.espol.edu.ec (8.13.8/8.13.8) with ESMTP id m4R1lZGN000712 for ; Mon, 26 May 2008 20:47:35 -0500 Received: from 192.168.46.243 (SquirrelMail authenticated user cbarcos) by ceibo.fiec.espol.edu.ec with HTTP; Mon, 26 May 2008 20:47:35 -0500 (ECT) Message-ID: <50860.192.168.46.243.1211852855.squirrel@ceibo.fiec.espol.edu.ec> Date: Mon, 26 May 2008 20:47:35 -0500 (ECT) Subject: I need help to set HADOOP From: "Carlos Fernando Barcos Sinche" To: core-dev@hadoop.apache.org Reply-To: cbarcos@fiec.espol.edu.ec User-Agent: SquirrelMail/1.4.8-4.0.1.el5.centos.2 MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (ceibo.fiec.espol.edu.ec [200.9.176.5]); Mon, 26 May 2008 20:47:35 -0500 (ECT) X-FIEC-ESPOL-MailScanner-Information: Por favor contacte al LAB-FIEC para mayores informes. X-MailScanner-ID: m4R1lZGN000712 X-FIEC-ESPOL-MailScanner: Found to be clean X-FIEC-ESPOL-MailScanner-From: cbarcos@fiec.espol.edu.ec X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No Hello!!: I am trying to set hadoop two pc. I have in conf/master: master master.visid.com and in conf/slave: master.visid.com slave3.visid.com. When i execute bin/start-dfs.sh and bin/start-mapred.sh in logs/hadoop-hadoop-datanode-slave3.visid.com.log is displayed the next error: //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// STARTUP_MSG: Starting DataNode STARTUP_MSG: host = slave3.visid.com/127.0.0.1 STARTUP_MSG: args = [] STARTUP_MSG: version = 0.16.2 STARTUP_MSG: build = http://svn.apache.org/repos/asf/hadoop/core/branches/branch-0.16 -r 642481; compiled by 'hadoopqa' on Sat Mar 29 01:59:04 UTC 2008 ************************************************************/ 2008-05-08 21:15:40,133 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: master.visid.com/192.168.46.242:54310. Already tried 1 time(s). 2008-05-08 21:15:41,133 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: master.visid.com/192.168.46.242:54310. Already tried 2 time(s). 2008-05-08 21:15:42,134 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: master.visid.com/192.168.46.242:54310. Already tried 3 time(s). 2008-05-08 21:15:43,135 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: master.visid.com/192.168.46.242:54310. Already tried 4 time(s). 2008-05-08 21:15:44,135 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: master.visid.com/192.168.46.242:54310. Already tried 5 time(s). 2008-05-08 21:15:45,136 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: master.visid.com/192.168.46.242:54310. Already tried 6 time(s). 2008-05-08 21:15:46,136 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: master.visid.com/192.168.46.242:54310. Already tried 7 time(s). 2008-05-08 21:15:47,137 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: master.visid.com/192.168.46.242:54310. Already tried 8 time(s). 2008-05-08 21:15:48,138 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: master.visid.com/192.168.46.242:54310. Already tried 9 time(s). 2008-05-08 21:15:49,138 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: master.visid.com/192.168.46.242:54310. Already tried 10 time(s). 2008-05-08 21:15:50,141 ERROR org.apache.hadoop.dfs.DataNode: java.net.NoRouteToHostException: No route to host at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:519) at org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:161) at org.apache.hadoop.ipc.Client.getConnection(Client.java:578) at org.apache.hadoop.ipc.Client.call(Client.java:501) at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:198) at org.apache.hadoop.dfs.$Proxy4.getProtocolVersion(Unknown Source) at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:291) at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:278) at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:315) at org.apache.hadoop.ipc.RPC.waitForProxy(RPC.java:260) at org.apache.hadoop.dfs.DataNode.startDataNode(DataNode.java:207) at org.apache.hadoop.dfs.DataNode.(DataNode.java:162) at org.apache.hadoop.dfs.DataNode.makeInstance(DataNode.java:2512) at org.apache.hadoop.dfs.DataNode.run(DataNode.java:2456) at org.apache.hadoop.dfs.DataNode.createDataNode(DataNode.java:2477) at org.apache.hadoop.dfs.DataNode.main(DataNode.java:2673) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// in the master.visid.com i execute jps and all services is running: 3984 DataNode 4148 SecondaryNameNode 4373 TaskTracker 4461 Jps 3873 NameNode 4246 JobTracker but in the slave3.visid.com none service is running: jps here is my file config -> hadoop-site.xml: //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// hadoop.tmp.dir /nutch/filesystem/hadoop-datastore/hadoop-${user.name} A base for other temporary directories. fs.default.name master.visid.com:54310 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. mapred.job.tracker master.visid.com:54311 The host and port that the MapReduce job tracker runs at. If "local", then jobs are run in-process as a single map and reduce task. dfs.replication 2 Default block replication. The actual number of replications can be specified when the file is created. The default is used if replication is not specified in create time. //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// and here is my configuration in the file hadoop-env.sh export JAVA_HOME=/opt/jdk1.5.0_10/ export HADOOP_PID_DIR=/nutch/filesystem/hadoop_pids/ my installation path is : /nutch/filesystem/ i have this in the /etc/hosts //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// 127.0.0.1 localhost.localdomain localhost master.visid.com ::1 localhost.localdomain localhost master.visid.com 192.168.46.242 master.visid.com 192.168.46.243 slave2.visid.com 192.168.46.244 slave3.visid.com //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// Carlos Barcos