hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zhijie Shen <zs...@hortonworks.com>
Subject Re: should clients be able to override *-site.xml?
Date Wed, 10 Sep 2014 17:23:14 GMT
Sangjin,

Does "yarn --config <path to your customized config> <command>" work for
you?

Zhijie

On Wed, Sep 10, 2014 at 10:14 AM, Sangjin Lee <sjlee@apache.org> wrote:

> tl;dr
>
> This was borne out of an investigation of a hadoop issue at our company. It
> appears that prior to https://issues.apache.org/jira/browse/HADOOP-9450
> the
> hadoop configuration directory (HADOOP_CONF_DIR) was always the first entry
> in the classpath, regardless of HADOOP_USER_CLASSPATH_FIRST or
> HADOOP_CLASSPATH. But after HADOOP-9450, if HADOOP_USER_CLASSPATH_FIRST is
> set and the user provides his/her version of *-site.xml through
> HADOOP_CLASSPATH, the user would end up trumping the hadoop configuration.
> And I believe this behavior is preserved after Allen's changes
> (HADOOP-9902).
>
> Is this an intended behavior? What I'm not sure of is whether we expect the
> client to be able to override the site.xml files the hadoop configuration
> provides. If that is true, then it is working as desired. If not, we'd need
> to fix this behavior.
>
> Thoughts?
>
> Thanks,
> Sangjin
>



-- 
Zhijie Shen
Hortonworks Inc.
http://hortonworks.com/

-- 
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.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message