To change the MR AM's default log level from INFO, set the job config: "yarn.app.mapreduce.am.log.level" to DEBUG or whatever level you prefer.
On Mon, Apr 22, 2013 at 6:21 PM, Nitzan Raanan <[email protected]> wrote: > Hi > > > > How do I open the DEBUG level for YARN application master process ? > > I couldn’t find the relevant configuration the set (probably need to add > them somewhere). > > > > ps -ef | grep java | grep yarn > > yarn 12585 29113 0 15:33 ? 00:00:00 /bin/bash -c > /usr/java/jre1.6/bin/java -Dlog4j.configuration=container-log4j.properties > -Dyarn.app.mapreduce.container.log.dir=/var/log/hadoop-yarn/containers/application_1366187149316_0049/container_1366187149316_0049_01_000001 > -Dyarn.app.mapreduce.container.log.filesize=0 -Dhadoop.root.logger=INFO,CLA > -Xmx1024m org.apache.hadoop.mapreduce.v2.app.MRAppMaster > 1>/var/log/hadoop-yarn/containers/application_1366187149316_0049/container_1366187149316_0049_01_000001/stdout > 2>/var/log/hadoop-yarn/containers/application_1366187149316_0049/container_1366187149316_0049_01_000001/stderr > > > > > > I’m using following YARN version > > # rpm -qa | grep yarn > > hadoop-yarn-nodemanager-2.0.0+922-1.cdh4.2.0.p0.12.el5 > > hadoop-yarn-nodemanager-2.0.0+88-1.cdh4.0.0.p0.26.el5 > > hadoop-yarn-2.0.0+922-1.cdh4.2.0.p0.12.el5 > > > > Thanks > > Raanan Nitzan, > > R&D Developer > > Comverse > > > > > ________________________________ > “This e-mail message may contain confidential, commercial or privileged > information that constitutes proprietary information of Comverse Technology > or its subsidiaries. If you are not the intended recipient of this message, > you are hereby notified that any review, use or distribution of this > information is absolutely prohibited and we request that you delete all > copies and contact us by e-mailing to: [email protected]. Thank You.” -- Harsh J
