<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: How to change the log level of a MR job in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-the-log-level-of-a-MR-job/m-p/59245#M67277</link>
    <description>You may only use the -Dname=value form if your main class implements the&lt;BR /&gt;Tool interface and gets invoked via the ToolRunner utility. Check the Tool&lt;BR /&gt;javadoc example and model your implementation around it:&lt;BR /&gt;&lt;A href="http://archive.cloudera.com/cdh5/cdh/5/hadoop/api/org/apache/hadoop/util/Tool.html" target="_blank"&gt;http://archive.cloudera.com/cdh5/cdh/5/hadoop/api/org/apache/hadoop/util/Tool.html&lt;/A&gt;&lt;BR /&gt;</description>
    <pubDate>Sun, 27 Aug 2017 04:46:55 GMT</pubDate>
    <dc:creator>Harsh J</dc:creator>
    <dc:date>2017-08-27T04:46:55Z</dc:date>
    <item>
      <title>How to change the log level of a MR job</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-the-log-level-of-a-MR-job/m-p/59223#M67275</link>
      <description>&lt;P&gt;&lt;SPAN class="pln"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="pln"&gt;I am trying to change the log level of a MR job, I used the following command :&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;hadoop jar appMR.jar MainMR -Dmapreduce.map.log.level=DEBUG &amp;lt;args...&amp;gt;&lt;/PRE&gt;&lt;P&gt;but the -Dmapreduce.map.log.level=DEBUG goes&amp;nbsp;as the first argument to the job. &amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;Is there any way to do this only for specific MR jobs without changes the level in the log4j properties file ?&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Fri, 25 Aug 2017 18:02:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-the-log-level-of-a-MR-job/m-p/59223#M67275</guid>
      <dc:creator>tsialiam</dc:creator>
      <dc:date>2017-08-25T18:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the log level of a MR job</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-the-log-level-of-a-MR-job/m-p/59244#M67276</link>
      <description>&lt;P&gt;To turn on debug mode on the job level, issue the following command before executing the job:&lt;BR /&gt;export HADOOP_ROOT_LOGGER=hadoop.root.logger=Debug,console&lt;BR /&gt;or add -Dhadoop.root.logger=DEBUG,console"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Aug 2017 04:25:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-the-log-level-of-a-MR-job/m-p/59244#M67276</guid>
      <dc:creator>Fawze</dc:creator>
      <dc:date>2017-08-27T04:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the log level of a MR job</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-the-log-level-of-a-MR-job/m-p/59245#M67277</link>
      <description>You may only use the -Dname=value form if your main class implements the&lt;BR /&gt;Tool interface and gets invoked via the ToolRunner utility. Check the Tool&lt;BR /&gt;javadoc example and model your implementation around it:&lt;BR /&gt;&lt;A href="http://archive.cloudera.com/cdh5/cdh/5/hadoop/api/org/apache/hadoop/util/Tool.html" target="_blank"&gt;http://archive.cloudera.com/cdh5/cdh/5/hadoop/api/org/apache/hadoop/util/Tool.html&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 27 Aug 2017 04:46:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-the-log-level-of-a-MR-job/m-p/59245#M67277</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2017-08-27T04:46:55Z</dc:date>
    </item>
  </channel>
</rss>

