Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

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.

Nodemanager shutsdown soon after start - where to find the logs for shutdown?

avatar
Expert Contributor

Hi, one of my nodemanager shuts down because my /var directory was full. I cleared it and restarted it but it is still shutting down. I dont seem to find anywhere why my nodemanager is shutting down soon after restart... i went to the node that has issue at /var/log/hadoop-yarn/yarnyarn-yarn-nodemanager-xxxx.log but nothing seems to be there. Where can i look for the logs?

1 ACCEPTED SOLUTION

avatar

Hi @PJ

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.

Example yarn-env.sh

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

View solution in original post

4 REPLIES 4

avatar
Expert Contributor

i stil dint find logs for start and stopping nodemanager but my nodemanager is running now after i restarted yarn components.

avatar

Hi @PJ

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.

Example yarn-env.sh

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

avatar

Hi @PJ

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.

Example yarn-env.sh

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

avatar
New Member

@PJ You can also look at the .out files which are present in the same yarn log dir location. Alternatively, you can launch the process in the foreground using "yarn nodemanager" CLI to see why the process is shutting down immediately.