Return-Path: X-Original-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-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 2CABB18A7B for ; Sun, 7 Feb 2016 01:02:09 +0000 (UTC) Received: (qmail 9268 invoked by uid 500); 7 Feb 2016 01:02:05 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 9099 invoked by uid 500); 7 Feb 2016 01:02:05 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 8991 invoked by uid 99); 7 Feb 2016 01:02:04 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Feb 2016 01:02:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 4EC8B1A005A for ; Sun, 7 Feb 2016 01:02:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.179 X-Spam-Level: * X-Spam-Status: No, score=1.179 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id fm9YZ2Kg_Lf0 for ; Sun, 7 Feb 2016 01:02:02 +0000 (UTC) Received: from mail-oi0-f49.google.com (mail-oi0-f49.google.com [209.85.218.49]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id E3E7A20D7B for ; Sun, 7 Feb 2016 01:02:01 +0000 (UTC) Received: by mail-oi0-f49.google.com with SMTP id w5so62519549oie.1 for ; Sat, 06 Feb 2016 17:02:01 -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=NTOtYM+EvAgg05m/PuKtE0dCvAhgXZUKn8BdYK9JGEc=; b=FMceMSweSS5aDFbbYoLBRFJkxwxhbWjNepmpNrZuU7gl6SgQFBOnrTTxIL+4soKL3o +ePBeGqGpQkezPllsX8Kpx5Hawq7H+jrW+sXE4jig84cuEHUOdKPsfM5PzTSOQ7pRiOK chGsWIZS6nx9jpfC4at2yFo50+viFc+2Llp7ZLHPvuE1P9P682hNASNPkpqyqDtfOFsC arDHckzsKfeAlk/FaSonDUIpSgVf+fS5+Y73rFRLL7na+PufwbI3vXVQ+SrJ3x5seD4x m17UiOqMwbhEb6ZlUgCWxvdP2/kTwWY4rScmJzIiNRvb77e+9j75Nc9/RhHNUSzyAPva t7KQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=NTOtYM+EvAgg05m/PuKtE0dCvAhgXZUKn8BdYK9JGEc=; b=c0qiCHDqfEJQJrF2F6yPnQs3VXUwqggVveKO6RsRn+kv7BYu8Ww0wy+dgTcNFwFl3N KnWG9o98jcDbW4L0vWLaCabjDu/2Aw4qSzRlSIF/ZDmh4v2I/TK7ObW7ZZbuwp6sPTBQ TopcqS9kOh1vsL8vVVfGcSQ37r0YdtkX1/BZKrZV75vjI/MvaHO0axHjVwn+HnqsQxXl /OKNLLLG8+V0CNfmUUZpSSyzaYOYJRV13b2ipEPQ/03TM007RZPugBKS4+UhfBdcye9I I/Plc8mDZvK78WmLRxQkqwYMliSG98Fe/VyXpl4vBnKSNnjJk1isve/ilkXeRuoxghxY JkdA== X-Gm-Message-State: AG10YOSuAhdIuYu99guwf+J5njatb3EyzGxBK/8KtgG3rRo8QR/779jlkorzHEGyFwiMqA4Mf/a80w7rrh//5Q== X-Received: by 10.202.199.200 with SMTP id x191mr13714296oif.108.1454806914833; Sat, 06 Feb 2016 17:01:54 -0800 (PST) MIME-Version: 1.0 Received: by 10.202.243.4 with HTTP; Sat, 6 Feb 2016 17:01:35 -0800 (PST) In-Reply-To: References: From: =?UTF-8?Q?Jos=C3=A9_Luis_Larroque?= Date: Sat, 6 Feb 2016 22:01:35 -0300 Message-ID: Subject: Re: Redefine yarn.application.classpath value To: "common-user@hadoop.apache.org" Content-Type: multipart/alternative; boundary=001a11c15d2c60248e052b23a1fd --001a11c15d2c60248e052b23a1fd Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable In SO someone recommend me this: "check the place where you are setting $HADOOP_CONF_DIR, you might be setting that multiple places.. The $HADOOP_CONF_DIR is added by the bin/hadoop script to the front of the path. " i'm setting it on hadoop-env.sh: export HADOOP_CONF_DIR=3D${HADOOP_CONF_DIR:-"/usr/local/hadoop/etc/hadoop"= } But it isn't working, the classpath remains the same. I tried removing it, but was the same anyway. Please!!! any help would be greatly appreciated. Bye! Jose 2016-01-30 13:42 GMT-03:00 Jos=C3=A9 Luis Larroque = : > Hi guys! > > i have a Ubuntu 14.04 LTS, with a hadoop 2.4.0 single node cluster. When = i > execute yarn classpath on console, gives me this: > > /usr/local/hadoop/etc/hadoop:/usr/local/hadoop/etc/hadoop:/usr/local/hado= op/etc/hadoop:/usr/local/hadoop/share/hadoop/common/lib/*:/usr/local/hadoop= /share/hadoop/common/*:/usr/local/hadoop/share/hadoop/hdfs:/usr/local/hadoo= p/share/hadoop/hdfs/lib/*:/usr/local/hadoop/share/hadoop/hdfs/*:/usr/local/= hadoop/share/hadoop/yarn/lib/*:/usr/local/hadoop/share/hadoop/yarn/*:/usr/l= ocal/hadoop/share/hadoop/mapreduce/lib/*:/usr/local/hadoop/share/hadoop/map= reduce/*:/usr/local/hadoop/contrib/capacity-scheduler/*.jar:/usr/local/hado= op/share/hadoop/yarn/*:/usr/local/hadoop/share/hadoop/yarn/lib/* > > As you can see, the first value is repeated three times. I looked for a > way to redefine or reset this. The only way, as far as i know, it's > redefining a property in yarn-site.xml, like this: > > > Classpath for typical applications. > yarn.application.classpath > > $HADOOP_CONF_DIR, $HADOOP_COMMON_HOME/share/hadoop/common/*, $HAD= OOP_COMMON_HOME/share/hadoop/common/lib/*, $HADO$ > > > > But yarn.application.classpath remains the same, without changes, even if > i stop every process of hadoop and start them all again. What other optio= n > do i have? i'm doing something wrong here? > --001a11c15d2c60248e052b23a1fd Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
In SO someone recommend me this:

"check the place where you are setting $HADOOP_CONF_DIR= , you might be setting that multiple places.. The $HADOOP_CONF_DIR is added by the bin/hadoop script to the front of th= e path. "

=20 =20 =20 =20 =20 =20 i'm setting it on hadoop-env.sh<= /code>:
=C2=A0export HADOOP_CONF_DIR=3D${HADOOP_CONF_DIR:-"/u= sr/local/hadoop/etc/hadoop"}


But it isn't working, the classpath remains the same. I t= ried removing it, but was the same anyway.

Please!!! any = help would be greatly appreciated.

Bye!
Jose

2016-01-30 13:4= 2 GMT-03:00 Jos=C3=A9 Luis Larroque <larroquester@gmail.com>:
Hi guys!
=

i have a Ubuntu 14.04 LTS, with a hadoop 2.4.0 single node c= luster. When i execute yarn classpath on console, gives me thi= s:
/usr/local/hadoop/etc/hadoop:/usr/local/hadoop/etc/hadoop:/usr/l=
ocal/hadoop/etc/hadoop:/usr/local/hadoop/share/hadoop/common/lib/*:/usr/loc=
al/hadoop/share/hadoop/common/*:/usr/local/hadoop/share/hadoop/hdfs:/usr/lo=
cal/hadoop/share/hadoop/hdfs/lib/*:/usr/local/hadoop/share/hadoop/hdfs/*:/u=
sr/local/hadoop/share/hadoop/yarn/lib/*:/usr/local/hadoop/share/hadoop/yarn=
/*:/usr/local/hadoop/share/hadoop/mapreduce/lib/*:/usr/local/hadoop/share/h=
adoop/mapreduce/*:/usr/local/hadoop/contrib/capacity-scheduler/*.jar:/usr/l=
ocal/hadoop/share/hadoop/yarn/*:/usr/local/hadoop/share/hadoop/yarn/lib/*

As you can see, the first value is repeated three times. I looked for a way to redefine or reset this. The only way, as far as i know, it's= =20 redefining a property in yarn-site.xml, like this:

 <property>
    <description>Classpath for typical applications.</description&=
gt;
     <name>yarn.application.classpath</name>
        <value>
        $HADOOP_CONF_DIR, $HADOOP_COMMON_HOME/share/hadoop/common/*, $HADOO=
P_COMMON_HOME/share/hadoop/common/lib/*, $HADO$
     </value>
  </property>

But yarn.application.classpath remains the same, without changes, even if i stop every process of hadoop and start them all=20 again. What other option do i have? i'm doing something wrong here?

=

--001a11c15d2c60248e052b23a1fd--