Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

though yarn.nodemanager.log-dirs is set to /hadop/yarn/log , logs are getting written to /var/log/hadoop-yarn/yarn

Explorer

Hi ,

though yarn.nodemanager.log-dirs is set to /hadop/yarn/log , logs are getting written to /var/log/hadoop-yarn/yarn

May i know the reason

thanks

JJ

1 ACCEPTED SOLUTION

Cloudera Employee

It depends on your configuration, but you changed the log configuration of the containers (separated worker processes) not the log configuration of the nodemanger process itself. Check the YARN_LOG_DIR variable in the yarn-env.sh for the location of the nodemanager's log.

View solution in original post

1 REPLY 1

Cloudera Employee

It depends on your configuration, but you changed the log configuration of the containers (separated worker processes) not the log configuration of the nodemanger process itself. Check the YARN_LOG_DIR variable in the yarn-env.sh for the location of the nodemanager's log.

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.