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.

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

Solved Go to solution

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

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

Accepted Solutions

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

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/

4 REPLIES 4

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

Expert Contributor

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

Highlighted

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

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/

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

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/

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

New Contributor

@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.

Don't have an account?
Coming from Hortonworks? Activate your account here