<?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 ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/ERROR-StatusLogger-No-log4j2-configuration-file-found-Using/m-p/306580#M222901</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was trying to install Cloudera Manager 6 with CDH 6.3.0 for a 3 node cluster. I have downloaded and installed &lt;A href="https://archive.cloudera.com/cm6/6.3.0/" target="_blank" rel="noopener"&gt;cloudera-manager-installer.bin&lt;/A&gt;&amp;nbsp;in CentOS6 and installed cloudera server and agent. Then I have logged into CM using admin:admin to configure cluster and I stuck here at&amp;nbsp;&lt;EM&gt;Add Cluster Configuration&lt;/EM&gt; step as Upload Oozie ShareLib step failed with no log4j2 file found. PFB logs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Upload Oozie ShareLib" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/29616i05AB177097ADF770/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Upload Oozie ShareLib" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Upload Oozie ShareLib&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, I have checked in&amp;nbsp;/var/log/cloudera-scm-server/cloudera-scm-server.log and found the same error message there as well. Is this log4j2 something that I need to install manually before configuring cluster ? If so, please suggest me on how to do that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;stdout and stderr for reference. PFB!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;stdout:&lt;/P&gt;&lt;PRE&gt;Mon Nov 30 08:10:40 UTC 2020
JAVA_HOME=/usr/java/jdk1.8.0_181-cloudera
using 6 as CDH_VERSION
CONF_DIR=/var/run/cloudera-scm-agent/process/61-oozie-OOZIE-SERVER-upload-sharelib
CMF_CONF_DIR=
Found Hadoop that supports Erasure Coding. Trying to disable Erasure Coding for path: /user/oozie/share/lib
Done
the destination path for sharelib is: /user/oozie/share/lib/lib_20201130081046
Running 1814 copy tasks on 8 threads&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;stderr:&lt;/P&gt;&lt;PRE&gt;org.apache.oozie.tools.OozieSharelibCLI create -fs hdfs://master.us-central1-a.c.karthikproject.internal:8020 -locallib /opt/cloudera/parcels/CDH-6.3.2-1.cdh6.3.2.p0.1605554/lib/oozie/oozie-sharelib-yarn -concurrency 8
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/opt/cloudera/parcels/CDH-6.3.2-1.cdh6.3.2.p0.1605554/jars/log4j-slf4j-impl-2.8.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/cloudera/parcels/CDH-6.3.2-1.cdh6.3.2.p0.1605554/jars/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/cloudera/parcels/CDH-6.3.2-1.cdh6.3.2.p0.1605554/jars/slf4j-simple-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console. Set system property 'org.apache.logging.log4j.simplelog.StatusLogger.level' to TRACE to show Log4j2 internal initialization logging.
[30/Nov/2020 08:15:14 +0000] 1740 MainThread redactor     INFO     Killing with SIGTERM&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 30 Nov 2020 08:39:17 GMT</pubDate>
    <dc:creator>KarthiK439</dc:creator>
    <dc:date>2020-11-30T08:39:17Z</dc:date>
    <item>
      <title>ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ERROR-StatusLogger-No-log4j2-configuration-file-found-Using/m-p/306580#M222901</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was trying to install Cloudera Manager 6 with CDH 6.3.0 for a 3 node cluster. I have downloaded and installed &lt;A href="https://archive.cloudera.com/cm6/6.3.0/" target="_blank" rel="noopener"&gt;cloudera-manager-installer.bin&lt;/A&gt;&amp;nbsp;in CentOS6 and installed cloudera server and agent. Then I have logged into CM using admin:admin to configure cluster and I stuck here at&amp;nbsp;&lt;EM&gt;Add Cluster Configuration&lt;/EM&gt; step as Upload Oozie ShareLib step failed with no log4j2 file found. PFB logs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Upload Oozie ShareLib" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/29616i05AB177097ADF770/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Upload Oozie ShareLib" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Upload Oozie ShareLib&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, I have checked in&amp;nbsp;/var/log/cloudera-scm-server/cloudera-scm-server.log and found the same error message there as well. Is this log4j2 something that I need to install manually before configuring cluster ? If so, please suggest me on how to do that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;stdout and stderr for reference. PFB!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;stdout:&lt;/P&gt;&lt;PRE&gt;Mon Nov 30 08:10:40 UTC 2020
JAVA_HOME=/usr/java/jdk1.8.0_181-cloudera
using 6 as CDH_VERSION
CONF_DIR=/var/run/cloudera-scm-agent/process/61-oozie-OOZIE-SERVER-upload-sharelib
CMF_CONF_DIR=
Found Hadoop that supports Erasure Coding. Trying to disable Erasure Coding for path: /user/oozie/share/lib
Done
the destination path for sharelib is: /user/oozie/share/lib/lib_20201130081046
Running 1814 copy tasks on 8 threads&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;stderr:&lt;/P&gt;&lt;PRE&gt;org.apache.oozie.tools.OozieSharelibCLI create -fs hdfs://master.us-central1-a.c.karthikproject.internal:8020 -locallib /opt/cloudera/parcels/CDH-6.3.2-1.cdh6.3.2.p0.1605554/lib/oozie/oozie-sharelib-yarn -concurrency 8
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/opt/cloudera/parcels/CDH-6.3.2-1.cdh6.3.2.p0.1605554/jars/log4j-slf4j-impl-2.8.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/cloudera/parcels/CDH-6.3.2-1.cdh6.3.2.p0.1605554/jars/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/cloudera/parcels/CDH-6.3.2-1.cdh6.3.2.p0.1605554/jars/slf4j-simple-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console. Set system property 'org.apache.logging.log4j.simplelog.StatusLogger.level' to TRACE to show Log4j2 internal initialization logging.
[30/Nov/2020 08:15:14 +0000] 1740 MainThread redactor     INFO     Killing with SIGTERM&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2020 08:39:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ERROR-StatusLogger-No-log4j2-configuration-file-found-Using/m-p/306580#M222901</guid>
      <dc:creator>KarthiK439</dc:creator>
      <dc:date>2020-11-30T08:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ERROR-StatusLogger-No-log4j2-configuration-file-found-Using/m-p/306587#M222906</link>
      <description>&lt;P&gt;I myself realized that it's not an issue with log4j2. Basically, the command was getting timed out after 270 seconds as it was set default. So, I have increased the value of below property to 500 and that resolved the issue.. Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Oozie &amp;gt; Configuration &amp;gt; Search for "&lt;SPAN&gt;Oozie Upload ShareLib Command Timeout" and update the value to 500.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2020 10:51:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ERROR-StatusLogger-No-log4j2-configuration-file-found-Using/m-p/306587#M222906</guid>
      <dc:creator>KarthiK439</dc:creator>
      <dc:date>2020-11-30T10:51:14Z</dc:date>
    </item>
  </channel>
</rss>

