You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ambari.apache.org by Chackravarthy Esakkimuthu <ch...@gmail.com> on 2015/05/16 09:28:51 UTC
Need help in enabling debug logs for YARN daemons (Node Manager)
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
Re: Need help in enabling debug logs for YARN daemons (Node Manager)
Posted by Chackravarthy Esakkimuthu <ch...@gmail.com>.
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
>