Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Standby Resource manager logs ( YARN )

Solved Go to solution

Standby Resource manager logs ( YARN )

in our ambari cluster we cant start the standby Resource manager ( yarn ) on master02 machine ( its stuck and not startup )

and under folder - /var/log/hadoop/yarn/ , we not see any log files

so where are the logs files for yarn ? and how to debug this problem?

is it possible to debug the problem with the following: , if yes how to debug?

yarn rmadmin ....

or

yarn nodemanager


Michael-Bronson
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Standby Resource manager logs ( YARN )

Hi @Michael Bronson

All services logs can be found at the location mentioned in the yarn-env.sh (can be found under Hadoop Conf files, usually /etc/hadoop/conf/) on the respective nodes. Hence please check location mentioned in yarn-env.sh on the master02 machine.

Once we check the logs, it will be easier to figure out the exact reason for failure.

Example yarn-env.sh

export YARN_LOG_DIR=/grid/0/log/yarn/

2 REPLIES 2

Re: Standby Resource manager logs ( YARN )

the main logs are under - /var/log/hadoop-yarn/yarn

Michael-Bronson
Highlighted

Re: Standby Resource manager logs ( YARN )

Hi @Michael Bronson

All services logs can be found at the location mentioned in the yarn-env.sh (can be found under Hadoop Conf files, usually /etc/hadoop/conf/) on the respective nodes. Hence please check location mentioned in yarn-env.sh on the master02 machine.

Once we check the logs, it will be easier to figure out the exact reason for failure.

Example yarn-env.sh

export YARN_LOG_DIR=/grid/0/log/yarn/