In hadoop-yarn-project/hadoop-yarn/bin/yarn , you can find:

YARN_OPTS="$YARN_OPTS
-Dhadoop.root.logger=${YARN_ROOT_LOGGER:-INFO,console}"
YARN_OPTS="$YARN_OPTS -Dyarn.root.logger=${YARN_ROOT_LOGGER:-INFO,console}"

Meaning you can override logger setting through YARN_ROOT_LOGGER
environment variable.

Cheers

On Mon, Apr 22, 2013 at 5:51 AM, Nitzan Raanan
<raanan.nit...@comverse.com>wrote:

>  Hi****
>
> ** **
>
> How do I open the DEBUG level for YARN application master  process ?****
>
> I couldn’t find the relevant configuration the set (probably need to add
> them somewhere).****
>
> ** **
>
> *ps -ef | grep java | grep yarn*
>
> *yarn     12585 29113  0 15:33 ?        00:00:00 /bin/bash -c
> /usr/java/jre1.6/bin/java 
> -Dlog4j.configuration=container-log4j.properties-Dyarn.app.mapreduce.container.log.dir=/var/log/hadoop-yarn/containers/application_1366187149316_0049/container_1366187149316_0049_01_000001
> -Dyarn.app.mapreduce.container.log.filesize=0
> -Dhadoop.root.logger=INFO,CLA -Xmx1024m
> org.apache.hadoop.mapreduce.v2.app.MRAppMaster
> 1>/var/log/hadoop-yarn/containers/application_1366187149316_0049/container_1366187149316_0049_01_000001/stdout
> 2>/var/log/hadoop-yarn/containers/application_1366187149316_0049/container_1366187149316_0049_01_000001/stderr
> *
>
> ** **
>
> ** **
>
> I’m using following YARN version ****
>
> *# rpm -qa | grep yarn*
>
> *hadoop-yarn-nodemanager-2.0.0+922-1.cdh4.2.0.p0.12.el5*
>
> *hadoop-yarn-nodemanager-2.0.0+88-1.cdh4.0.0.p0.26.el5*
>
> *hadoop-yarn-2.0.0+922-1.cdh4.2.0.p0.12.el5*
>
> ** **
>
> Thanks****
>
> Raanan Nitzan,****
>
> R&D Developer****
>
> Comverse ****
>
> ** **
>
> ------------------------------
> “This e-mail message may contain confidential, commercial or privileged
> information that constitutes proprietary information of Comverse Technology
> or its subsidiaries. If you are not the intended recipient of this message,
> you are hereby notified that any review, use or distribution of this
> information is absolutely prohibited and we request that you delete all
> copies and contact us by e-mailing to: secur...@comverse.com. Thank You.”
>

Reply via email to