Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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/