Return-Path: X-Original-To: apmail-hadoop-common-user-archive@www.apache.org Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 73E0111B8F for ; Sun, 13 Jul 2014 19:16:55 +0000 (UTC) Received: (qmail 84049 invoked by uid 500); 13 Jul 2014 19:16:49 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 83925 invoked by uid 500); 13 Jul 2014 19:16:49 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 83914 invoked by uid 99); 13 Jul 2014 19:16:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Jul 2014 19:16:49 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of xisisu@gmail.com designates 209.85.213.172 as permitted sender) Received: from [209.85.213.172] (HELO mail-ig0-f172.google.com) (209.85.213.172) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Jul 2014 19:16:45 +0000 Received: by mail-ig0-f172.google.com with SMTP id h15so1062979igd.11 for ; Sun, 13 Jul 2014 12:16:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=sZxSaIBALZLPs8cuokwlccb8vqoTT2ttfp1HIkrG0D4=; b=BCZOStfWG0zMdGPxkODbPxQcZ1+JtVYX2JvLNPjcCinBbkEFp5JAONtrCH22Nk/6c8 HUgMpZdkK9Fd9pcAqbT/jHHkKSKh/M6OuwfISZCOr9kwoeztCTM135r5Cd7+TR9RMY9e W8T8itwE15kH35TM4s5fFpm/Z928qiB7N2HRVMqL1H8O4XH0nFJLRyRZDHFqUYUO7Q6k B1HV/PT+GicB/j9HdQgGRzP0xqbN41hUf5tTSjqCogXD78ktdRIYUeB1m4E/e4KcDEz6 Gl1SMsZHymNd741kgqfIzwgSlpO0HL1Hc95s7HchJuvBGXQIjV1u0r7IFqTGEIObNnL9 exUw== X-Received: by 10.50.23.16 with SMTP id i16mr19471871igf.24.1405278985125; Sun, 13 Jul 2014 12:16:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.81.169 with HTTP; Sun, 13 Jul 2014 12:15:45 -0700 (PDT) In-Reply-To: References: From: Sisu Xi Date: Sun, 13 Jul 2014 14:15:45 -0500 Message-ID: Subject: Re: hadoop multinode, only master node doing the work To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=089e0158a9aab8131104fe180264 X-Virus-Checked: Checked by ClamAV on apache.org --089e0158a9aab8131104fe180264 Content-Type: text/plain; charset=UTF-8 Hi, Ravi: Yes! you are right! I did not realize there is a data dir on the slave node as well. Thanks very much! After deleting it and restart, now I can see the slave node. However, when I ran the pi program (even from the slave node), still only the master node is doing the work. The command I am using is: xisisu@slave-01:/usr/local/hadoop$ hadoop jar share/hadoop/mapreduce/hadoop-mapreduce-examples-2.2.0.jar pi 100 10000000 Attached is the output for hadoop dfsadmin -report xisisu@slave-01:/usr/local/hadoop$ hadoop dfsadmin -report DEPRECATED: Use of this script to execute hdfs command is deprecated. Instead use the hdfs command for it. OpenJDK 64-Bit Server VM warning: You have loaded library /usr/local/hadoop/lib/native/libhadoop.so.1.0.0 which might have disabled stack guard. The VM will try to fix the stack guard now. It's highly recommended that you fix the library with 'execstack -c ', or link it with '-z noexecstack'. 14/07/13 14:10:34 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable Configured Capacity: 28137644032 (26.21 GB) Present Capacity: 16888445354 (15.73 GB) DFS Remaining: 16887668736 (15.73 GB) DFS Used: 776618 (758.42 KB) DFS Used%: 0.00% Under replicated blocks: 0 Blocks with corrupt replicas: 0 Missing blocks: 0 ------------------------------------------------- Datanodes available: 2 (2 total, 0 dead) Live datanodes: Name: 172.16.20.72:50010 (slave-01) Hostname: slave-01 Decommission Status : Normal Configured Capacity: 14068822016 (13.10 GB) DFS Used: 388309 (379.21 KB) Non DFS Used: 5623800619 (5.24 GB) DFS Remaining: 8444633088 (7.86 GB) DFS Used%: 0.00% DFS Remaining%: 60.02% Last contact: Sun Jul 13 14:10:34 CDT 2014 Name: 172.16.20.170:50010 (master) Hostname: master Decommission Status : Normal Configured Capacity: 14068822016 (13.10 GB) DFS Used: 388309 (379.21 KB) Non DFS Used: 5625398059 (5.24 GB) DFS Remaining: 8443035648 (7.86 GB) DFS Used%: 0.00% DFS Remaining%: 60.01% Last contact: Sun Jul 13 14:10:34 CDT 2014 Sisu On Sun, Jul 13, 2014 at 2:03 PM, Ravi Mutyala wrote: > Try cleaning up /home/xisisu/mydata/hdfs/datanode on the slave nodes > andvstart 'datanode' on that again. That should work. If it doesn't, send > the log message. > > Also see if nodemanagers are running on slaves nodes. If everything is > running on master, then its not just HDFS issue, its also yarn nodemanagers > not running. > > CONFIDENTIALITY NOTICE > NOTICE: This message is intended for the use of the individual or entity > to which it is addressed and may contain information that is confidential, > privileged and exempt from disclosure under applicable law. If the reader > of this message is not the intended recipient, you are hereby notified that > any printing, copying, dissemination, distribution, disclosure or > forwarding of this communication is strictly prohibited. If you have > received this communication in error, please contact the sender immediately > and delete it from your system. Thank You. -- *Sisu Xi, PhD Candidate* http://www.cse.wustl.edu/~xis/ Department of Computer Science and Engineering Campus Box 1045 Washington University in St. Louis One Brookings Drive St. Louis, MO 63130 --089e0158a9aab8131104fe180264 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi, Ravi:

Yes! you are right! I did not= realize there is a data dir on the slave node as well. Thanks very much!
After deleting it and restart, now I can see the slave node.

However, when I ran the pi program (even from the slave= node), still only the master node is doing the work. The command I am usin= g is:
xisisu@slave-01:/usr/local/hadoop$ hadoop jar share/ha= doop/mapreduce/hadoop-mapreduce-examples-2.2.0.jar pi 100 10000000

Attached is the output for hadoop dfsadmin -repor= t

xisisu@slave-01:/usr/local/hadoop$ hadoop d= fsadmin -report
DEPRECATED: Use of this script to execute hdfs co= mmand is deprecated.
Instead use the hdfs command for it.

OpenJDK = 64-Bit Server VM warning: You have loaded library /usr/local/hadoop/lib/nat= ive/libhadoop.so.1.0.0 which might have disabled stack guard. The VM will t= ry to fix the stack guard now.
It's highly recommended that you fix the library with 'execsta= ck -c <libfile>', or link it with '-z noexecstack'.
=
14/07/13 14:10:34 WARN util.NativeCodeLoader: Unable to load native-ha= doop library for your platform... using builtin-java classes where applicab= le
Configured Capacity: 28137644032 (26.21 GB)
Present Capacity= : 16888445354 (15.73 GB)
DFS Remaining: 16887668736 (15.73 GB)
DFS Used: 776618 (758.42 KB)
DFS Used%: 0.00%
Under replicated blocks: 0
Blocks with corrupt replicas: 0
<= div>Missing blocks: 0

----------------------------= ---------------------
Datanodes available: 2 (2 total, 0 dead)

Live datanodes:
Name: 172.16.20.72:50010 (slave-01)
Hostname: slave-= 01
Decommission Status : Normal
Configured Capacity: 14= 068822016 (13.10 GB)
DFS Used: 388309 (379.21 KB)
Non DFS Used: 5623800619 (5.24 = GB)
DFS Remaining: 8444633088 (7.86 GB)
DFS Used%: 0.00= %
DFS Remaining%: 60.02%
Last contact: Sun Jul 13 14:10= :34 CDT 2014


Name: 172.16.20.170:50010 (master)
Hostname: master
= Decommission Status : Normal
Configured Capacity: 14068822016 (13= .10 GB)
DFS Used: 388309 (379.21 KB)
Non DFS Used: 5625398059 (5.24 = GB)
DFS Remaining: 8443035648 (7.86 GB)
DFS Used%: 0.00= %
DFS Remaining%: 60.01%
Last contact: Sun Jul 13 14:10= :34 CDT 2014



Sisu

=



On Sun, Jul 13, 2014 at 2:03 PM, Ravi Mutyala <ravi@horto= nworks.com> wrote:
Try cleaning up /home/xisis= u/mydata/hdfs/datanode on the slave nodes andvstart =C2=A0'datanode'= ; on that again. That should work. If it doesn't, send the log message.=

Also see if nodemanagers are running on slaves nodes. If everything is runn= ing on master, then its not just HDFS issue, its also yarn nodemanagers not= running.

CONFIDENTIALITY NOTICE
NOTICE: This message is = intended for the use of the individual or entity to which it is addressed a= nd may contain information that is confidential, privileged and exempt from= disclosure under applicable law. If the reader of this message is not the = intended recipient, you are hereby notified that any printing, copying, dis= semination, distribution, disclosure or forwarding of this communication is= strictly prohibited. If you have received this communication in error, ple= ase contact the sender immediately and delete it from your system. Thank Yo= u.



--


Sisu Xi, PhD Candid= ate

http= ://www.cse.wustl.edu/~xis/
Department of Computer Science and Engine= ering
Campus Box 1045
Washington University in St. Louis
One Brook= ings Drive
St. Louis, MO 63130
--089e0158a9aab8131104fe180264--