Return-Path: X-Original-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 990CF10B61 for ; Mon, 27 Jan 2014 16:10:13 +0000 (UTC) Received: (qmail 24910 invoked by uid 500); 27 Jan 2014 16:10:01 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 24819 invoked by uid 500); 27 Jan 2014 16:10:01 -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 24799 invoked by uid 99); 27 Jan 2014 16:10:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jan 2014 16:10:00 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of shekhar2581@gmail.com designates 209.85.212.46 as permitted sender) Received: from [209.85.212.46] (HELO mail-vb0-f46.google.com) (209.85.212.46) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jan 2014 16:09:53 +0000 Received: by mail-vb0-f46.google.com with SMTP id o19so3518685vbm.33 for ; Mon, 27 Jan 2014 08:09:33 -0800 (PST) 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=a1/FunxTkr1h1j3VeRTmULCn039YlPDsZJujP/5Rsu4=; b=rs3JTNcZKOnXHeV/V8Vhdeam5ZMfDtBi/7u0qM8FdoORwG4uLiE3DrKzoZeUYeyzVI tND0MJTKK/pJQ16BD54WGaEgIwRl45NtsEwf1i2CbMI+QPd78GtGERhn3FX+rkGabXI9 lMS48WWfywkrCmJTez4YDi+bBk83HxEwpLMpqKASZHAaPMb8rWRnc5JGZtMV1xkAPpYP zYFdY0MAn5cWuOv3ZedDFfPrvSEJsh9UVzTq9nXNLr2lkR6VtXRY0mdRc4SVK8eNRrmU JsceLI8xYpuwQ8n69U0wcHQYuWhkl22OssRs3hQshzQzAvrRUiENtB3Qn/knzY/EAXG8 YAbQ== X-Received: by 10.52.237.228 with SMTP id vf4mr3707341vdc.3.1390838973032; Mon, 27 Jan 2014 08:09:33 -0800 (PST) MIME-Version: 1.0 Received: by 10.220.63.198 with HTTP; Mon, 27 Jan 2014 08:09:12 -0800 (PST) In-Reply-To: References: From: Shekhar Sharma Date: Mon, 27 Jan 2014 21:39:12 +0530 Message-ID: Subject: Re: Commissioning Task tracker To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=089e0122f6aaed6d3e04f0f5ee14 X-Virus-Checked: Checked by ClamAV on apache.org --089e0122f6aaed6d3e04f0f5ee14 Content-Type: text/plain; charset=ISO-8859-1 Thats fine..I have provided the file name as "include" I have tried this also..but i am getting the same error my xml files are as follows: hdfs-site.xml dfs.replication 2 dfs.block.size 1048576 dfs.hosts /usr/local/hadoop/conf/include dfs.hosts.exclude /usr/local/hadoop/conf/exclude mapred-site.xml mapred.job.tracker NameNode:54311 mapred.hosts /usr/local/hadoop/conf/include true My include file has the entry of the machine... Regards, Som Shekhar Sharma +91-8197243810 On Mon, Jan 27, 2014 at 9:28 PM, Nitin Pawar wrote: > Sorry for incomplete reply > > In hadoop 1.2/1.0 , following is the property > > > mapred.hosts > ${HADOOP_CONF_DIR}/mapred.include > Names a file that contains the list of nodes that may > connect to the jobtracker. If the value is empty, all hosts are > permitted. > > > > > On Mon, Jan 27, 2014 at 9:21 PM, Shekhar Sharma wrote: > >> U mean property name? >> >> Regards, >> Som Shekhar Sharma >> +91-8197243810 >> >> >> On Mon, Jan 27, 2014 at 9:14 PM, Nitin Pawar wrote: >> >>> I think the file name is "mapred.include" >>> >>> >>> On Mon, Jan 27, 2014 at 9:11 PM, Shekhar Sharma wrote: >>> >>>> Hello, >>>> I am using apache hadoop-1.0.3 version and i want to commission a task >>>> tracker. >>>> For this i have included a property mapred.hosts in mapred-site.xml and >>>> for this property i have mentioned a file. In this file i have given the IP >>>> address of a machine.. >>>> >>>> then i ran the command "hadoop mradmin -refreshNodes" >>>> >>>> Now what i see, when i am trying to run the task tracker on that >>>> machine, it is throwing me an exception that task tracker is not allowed to >>>> communicate with the job tracker... >>>> >>>> I have used the newer property (mapred.jobtracker.hosts.filename) even >>>> this was not helpful and more over this property is not recognized by the >>>> job tracker. >>>> >>>> Please advise me how to commission a task tracker >>>> >>>> Regards, >>>> Som Shekhar Sharma >>>> +91-8197243810 >>>> >>> >>> >>> >>> -- >>> Nitin Pawar >>> >> >> > > > -- > Nitin Pawar > --089e0122f6aaed6d3e04f0f5ee14 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Thats fine..I have provided the file name as "include= "

I have tried this also..but i am getting the same= error

my xml files are as follows:

hdfs-site.xml
<configuration>
=A0= <property>
=A0 =A0 <name>dfs.replication</name>= ;
=A0 =A0 <value>2</value>
=A0 </propert= y>
=A0 <property>
=A0 =A0 <name>dfs.block.size</= name>
=A0 =A0 <value>1048576</value>
=A0= </property>
=A0 <property>
=A0 =A0 <nam= e>dfs.hosts</name>
=A0 =A0 <value>/usr/local/hadoop/conf/include</value>
=A0 </property>
=A0 <property>
=A0 = =A0 <name>dfs.hosts.exclude</name>
=A0 =A0 <value&= gt;/usr/local/hadoop/conf/exclude</value>
=A0 </property>

</configuration><= /div>


mapred-site.xml
<configuration>
=A0 <property>
=A0 =A0 &l= t;name>mapred.job.tracker</name>
=A0 =A0 <value>NameNode:54311</value>
=A0 </p= roperty>

<!-- <property>
=A0= =A0<name>mapreduce.jobtracker.hosts.filename</name>
= =A0 =A0<value>/usr/local/hadoop/conf/mapred.include</value>
=A0 </property>-->
=A0 <property>
= =A0 =A0 =A0<name>mapred.hosts</name>
=A0 =A0 =A0 =A0 = <value>/usr/local/hadoop/conf/include</value>
=A0 =A0= =A0 =A0 <final>true</final>
=A0 =A0 =A0 =A0 =A0 </property>

</co= nfiguration>


My include fi= le has the entry of the machine...



Regards,
Som Shekhar Sharma
+91-8197243810


On Mon, Jan 27, 2014 at 9:28 PM, Nitin P= awar <nitinpawar432@gmail.com> wrote:
Sorry for incomplete reply=A0

In hadoop= 1.2/1.0 , following is the property =A0

 <property>
    <name>mapred.hosts</name>
    <value>${HADOOP_CONF_DIR}/mapred.include</value>
    <description>Names a file that contains the list of nodes that ma=
y
    connect to the jobtracker.  If the value is empty, all hosts are
    permitted.</description>
  </property>


On Mon, Jan 27, 2014 at 9:21 PM, Shekhar Sharma <shekhar2581@gmail.com> wrote:
U mean property name?

Regards,
Som Shekhar Sharma


On Mon, Jan 27, 2014 at = 9:14 PM, Nitin Pawar <nitinpawar432@gmail.com> wrote:<= br>
I think the file name is "mapred.include"=A0


On Mon, Jan 27, 2014 at 9:= 11 PM, Shekhar Sharma <shekhar2581@gmail.com> wrote:
Hello,
I am = using apache hadoop-1.0.3 version and i want to commission a task tracker.<= /div>
For this i have included a property mapred.hosts in mapred-site.xml an= d for this property i have mentioned a file. In this file i have given the = IP address of a machine..

then i ran the command =A0 "hadoop mradmin -refres= hNodes"

Now what i see, when i am trying to r= un the task tracker on that machine, it is throwing me an exception that ta= sk tracker is not allowed to communicate with the job tracker...

I have used the newer property (mapred.jobtracker.hosts= .filename) even this was not helpful and more over this property is not rec= ognized by the job tracker.

Please advise me how t= o commission a task tracker

Regards,
Som Shekhar Sharma



-- =
Nitin Pawar




--
Nitin Pawar

--089e0122f6aaed6d3e04f0f5ee14--