hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From José Luis Larroque <larroques...@gmail.com>
Subject Redefine yarn.application.classpath value
Date Sat, 30 Jan 2016 16:42:12 GMT
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/hadoop/etc/hadoop:/usr/local/hadoop/share/hadoop/common/lib/*:/usr/local/hadoop/share/hadoop/common/*:/usr/local/hadoop/share/hadoop/hdfs:/usr/local/hadoop/share/hadoop/hdfs/lib/*:/usr/local/hadoop/share/hadoop/hdfs/*:/usr/local/hadoop/share/hadoop/yarn/lib/*:/usr/local/hadoop/share/hadoop/yarn/*:/usr/local/hadoop/share/hadoop/mapreduce/lib/*:/usr/local/hadoop/share/hadoop/mapreduce/*:/usr/local/hadoop/contrib/capacity-scheduler/*.jar:/usr/local/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 redefining
a property in yarn-site.xml, like this:

 <property>
    <description>Classpath for typical applications.</description>
     <name>yarn.application.classpath</name>
        <value>
        $HADOOP_CONF_DIR, $HADOOP_COMMON_HOME/share/hadoop/common/*,
$HADOOP_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 again. What other option do
i have? i'm doing something wrong here?

Mime
View raw message