ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chackravarthy Esakkimuthu <chaku.mi...@gmail.com>
Subject Re: Need help in enabling debug logs for YARN daemons (Node Manager)
Date Sat, 16 May 2015 08:44:42 GMT
This gets resolved after exporting HADOOP_ROOT_LOGGER and YARN_ROOT_LOGGER
in yarn-env. (for yarn deamons)

On Sat, May 16, 2015 at 12:58 PM, Chackravarthy Esakkimuthu <
chaku.mitcs@gmail.com> wrote:

> Not able to enable debug logs for yarn daemons or hdfs daemons.
>
> Wants to enable debug level for all Node managers. So, tried the following,
>
>    - changed Hadoop Root Logger to DEBUG,RFA (at HDFS -> Advanced
>    hadoop-env)
>    - hadoop.root.logger to DEBUG,console (at HDFS -> Advanced hdfs-log4j)
>    - changed at YARN -> Advanced YARN env template
>
> YARN_OPTS="$YARN_OPTS
> -Dhadoop.root.logger=${YARN_ROOT_LOGGER:-DEBUG,console}"
>
> YARN_OPTS="$YARN_OPTS
> -Dyarn.root.logger=${YARN_ROOT_LOGGER:-DEBUG,console}"
>
>
>
>
> But nothing worked, even none of the processes log comes in debug level.
> Even for HDFS (NN, DN) as well as YARN (RM, NM)
>
> Env details :
>
> Ambari version : 1.7
> HDP 2.2
> Debian 7
>
> Please help in resolving this.
>
> Thanks,
> Chackra
>

Mime
View raw message