Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Standby Resource manager logs ( YARN )

avatar

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

avatar

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/

View solution in original post

2 REPLIES 2

avatar

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

Michael-Bronson

avatar

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/