I am doing some change to Yarn source code. I have changed hadoop.root.logger=DEBUG,console
to DEBUG in ${HADOOP_HOME}/etc/hadoop/log4j.properties
. I can get DEBUG information for Application Master, but I can't find any DEBUG information outputted in ${HADOOP_HOME}/logs/yarn-yar-resourcemanager-hostname.log
. Is there any other place I should change to trigger DEBUG level for resourcemanager?
Quoting Setting debug log level for individual daemons:
Add
-Dhadoop.root.logger=DEBUG
to something likeHADOOP_resourcemanager_opts
inyarn-env.sh