<?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: Enable Oozie error log in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-Oozie-error-log/m-p/127198#M47459</link>
    <description>&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/40405538/how-to-enable-setup-log4j-for-oozi-java-workflows" target="_blank"&gt;https://stackoverflow.com/questions/40405538/how-to-enable-setup-log4j-for-oozi-java-workflows&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This tells that you can try adding &lt;CODE&gt;oozie-log4j.properties&lt;/CODE&gt; in your oozie directory (where &lt;CODE&gt;workflow.xml&lt;/CODE&gt; is).&lt;/P&gt;</description>
    <pubDate>Mon, 11 Feb 2019 14:46:09 GMT</pubDate>
    <dc:creator>namitkabra</dc:creator>
    <dc:date>2019-02-11T14:46:09Z</dc:date>
    <item>
      <title>Enable Oozie error log</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-Oozie-error-log/m-p/127195#M47456</link>
      <description>&lt;P&gt;Hi Team, &lt;/P&gt;&lt;P&gt;I need to enable Oozie error lot which is not done before. Can you let me know the process of doing it. I see few jobs are in RUNNING state in  COORDINATOR JOBS. Let me know how to enable Error log without affecting the jobs &lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2016 16:32:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-Oozie-error-log/m-p/127195#M47456</guid>
      <dc:creator>suresh_b_k</dc:creator>
      <dc:date>2016-11-29T16:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: Enable Oozie error log</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-Oozie-error-log/m-p/127196#M47457</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3731/sureshbk.html" nodeid="3731"&gt;@suresh krish&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Unfortunately you cannot do it without restarting Oozie&lt;/P&gt;&lt;P&gt;Here are the steps:&lt;/P&gt;&lt;P&gt;1. Add the below set of lines after log4j.appender.oozie and before log4j.appender.oozieops: 

&lt;/P&gt;&lt;PRE&gt;log4j.appender.oozieError=org.apache.log4j.rolling.RollingFileAppender 
log4j.appender.oozieError.RollingPolicy=org.apache.oozie.util.OozieRollingPolicy 
log4j.appender.oozieError.File=${oozie.log.dir}/oozie-error.log 
log4j.appender.oozieError.Append=true 
log4j.appender.oozieError.layout=org.apache.log4j.PatternLayout 
log4j.appender.oozieError.layout.ConversionPattern=%d{ISO8601} %5p %c{1}:%L - SERVER[${oozie.instance.id}] %m%n 
log4j.appender.oozieError.RollingPolicy.FileNamePattern=${log4j.appender.oozieError.File}-%d{yyyy-MM-dd-HH} 
log4j.appender.oozieError.RollingPolicy.MaxHistory=720 
log4j.appender.oozieError.filter.1 = org.apache.log4j.varia.LevelMatchFilter 
log4j.appender.oozieError.filter.1.levelToMatch = WARN 
log4j.appender.oozieError.filter.2 = org.apache.log4j.varia.LevelMatchFilter 
log4j.appender.oozieError.filter.2.levelToMatch = ERROR 
log4j.appender.oozieError.filter.3 = org.apache.log4j.varia.LevelMatchFilter 
log4j.appender.oozieError.filter.3.levelToMatch = FATAL 
log4j.appender.oozieError.filter.4 = org.apache.log4j.varia.DenyAllFilter &lt;/PRE&gt;
2. Modify below props:&lt;P&gt;Earlier value:&lt;/P&gt;&lt;PRE&gt;log4j.logger.org.apache.oozie=WARN, oozie &lt;/PRE&gt;&lt;P&gt;New value:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;log4j.logger.org.apache.oozie=ALL, oozie, oozieError &lt;/PRE&gt;
3. Restart Oozie service via Ambari. &lt;P&gt;Note - This would help in getting the job error log for the &lt;EM&gt;&lt;STRONG&gt;new jobs launched after restart of oozie service&lt;/STRONG&gt;&lt;/EM&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2016 01:53:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-Oozie-error-log/m-p/127196#M47457</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2016-12-01T01:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: Enable Oozie error log</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-Oozie-error-log/m-p/127197#M47458</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3731/sureshbk.html" nodeid="3731"&gt;@suresh krish&lt;/A&gt;  , &lt;A rel="user" href="https://community.cloudera.com/users/504/kkulkarni.html" nodeid="504"&gt;@Kuldeep Kulkarni&lt;/A&gt; what is the file in which i have to make these changes . Is it possible to change oozie configuration for shell action by passing these parameters as a log4j.propreties in the configuration tag of the oozie shell action  ?&lt;/P&gt;</description>
      <pubDate>Mon, 30 Apr 2018 14:13:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-Oozie-error-log/m-p/127197#M47458</guid>
      <dc:creator>suku</dc:creator>
      <dc:date>2018-04-30T14:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: Enable Oozie error log</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-Oozie-error-log/m-p/127198#M47459</link>
      <description>&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/40405538/how-to-enable-setup-log4j-for-oozi-java-workflows" target="_blank"&gt;https://stackoverflow.com/questions/40405538/how-to-enable-setup-log4j-for-oozi-java-workflows&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This tells that you can try adding &lt;CODE&gt;oozie-log4j.properties&lt;/CODE&gt; in your oozie directory (where &lt;CODE&gt;workflow.xml&lt;/CODE&gt; is).&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 14:46:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-Oozie-error-log/m-p/127198#M47459</guid>
      <dc:creator>namitkabra</dc:creator>
      <dc:date>2019-02-11T14:46:09Z</dc:date>
    </item>
  </channel>
</rss>

