<?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: log4j:ERROR Could not find value for key log4j.appender.A in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/log4j-ERROR-Could-not-find-value-for-key-log4j-appender-A/m-p/365600#M239359</link>
    <description>&lt;P&gt;Welcome to the community&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/103830"&gt;@supersonic-2021&lt;/a&gt;&amp;nbsp;.&amp;nbsp;As this is an older post, we recommend starting a new thread. The new thread will provide the opportunity to provide details specific to your environment that could aid others in providing a more accurate answer to your question.&lt;/P&gt;</description>
    <pubDate>Tue, 07 Mar 2023 20:04:28 GMT</pubDate>
    <dc:creator>cjervis</dc:creator>
    <dc:date>2023-03-07T20:04:28Z</dc:date>
    <item>
      <title>log4j:ERROR Could not find value for key log4j.appender.A</title>
      <link>https://community.cloudera.com/t5/Support-Questions/log4j-ERROR-Could-not-find-value-for-key-log4j-appender-A/m-p/300450#M220236</link>
      <description>&lt;P&gt;I am setting up a Pre prod cluster from Path B. I ran the command "/usr/share/cmf/schema/scm_prepare_database.sh mysql -h mysqldatabase scm temp password" to check the database status. I am getting the error of log4j however the&amp;nbsp;SCM database is configured correctly. Please find the below error and suggest any workaround for this error.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[root@clouderamanage cloudera-scm-server]#&lt;/STRONG&gt; /usr/share/cmf/schema/scm_prepare_database.sh mysql -h webserver scmmysqldatabase password&lt;BR /&gt;JAVA_HOME=/usr/java/jdk1.7.0_67-cloudera&lt;BR /&gt;Verifying that we can write to /etc/cloudera-scm-server&lt;BR /&gt;Creating SCM configuration file in /etc/cloudera-scm-server&lt;BR /&gt;Executing: /usr/java/jdk1.7.0_67-cloudera/bin/java -cp /usr/share/java/mysql-connector-java.jar:/usr/share/java/oracle-connector-java.jar:/usr/share/java/postgresql-connector-java.jar:/usr/share/cmf/schema/../lib/* com.cloudera.enterprise.dbutil.DbCommandExecutor /etc/cloudera-scm-server/db.properties com.cloudera.cmf.db.&lt;BR /&gt;&lt;STRONG&gt;log4j: ERROR Could not find value for key log4j.appender.A&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;log4j: ERROR Could not instantiate appender named "A".&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;[2020-07-27 10:20:19,893] INFO 0[main] - com.cloudera.enterprise.dbutil.DbCommandExecutor.testDbConnection(DbCommandExecutor.java&lt;/STRONG&gt;) - Successfully connected to database.&lt;BR /&gt;All done, your SCM database is configured correctly!&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2020 10:33:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/log4j-ERROR-Could-not-find-value-for-key-log4j-appender-A/m-p/300450#M220236</guid>
      <dc:creator>HanzalaShaikh</dc:creator>
      <dc:date>2020-07-27T10:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: log4j:ERROR Could not find value for key log4j.appender.A</title>
      <link>https://community.cloudera.com/t5/Support-Questions/log4j-ERROR-Could-not-find-value-for-key-log4j-appender-A/m-p/300480#M220250</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/77252"&gt;@HanzalaShaikh&lt;/a&gt;&amp;nbsp;This seems a very old cosmetic issue in CM. What version you are using?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It appears in older versions we had some early bugs caused by the addition of a new jar file in the classpath directory (/usr/share/cmf/schema/../lib/* ) used by the scm_prepare_db.sh script. This new jar contained a log4j.properties file that was not configured to use the log4j appender A, and overwrote the original properties from the proper log4j.properties file in the original jar file.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 07:15:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/log4j-ERROR-Could-not-find-value-for-key-log4j-appender-A/m-p/300480#M220250</guid>
      <dc:creator>GangWar</dc:creator>
      <dc:date>2020-07-28T07:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: log4j:ERROR Could not find value for key log4j.appender.A</title>
      <link>https://community.cloudera.com/t5/Support-Questions/log4j-ERROR-Could-not-find-value-for-key-log4j-appender-A/m-p/300627#M220317</link>
      <description>&lt;P&gt;Thanks a lot for your quick reply and for providing a detailed explanation, really appreciated. I was using a 5.14.1 version of Cloudera. Yes, there is a bug in the older version I realized soon after that, but your explanation has made me understand the reason behind the error.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2020 16:33:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/log4j-ERROR-Could-not-find-value-for-key-log4j-appender-A/m-p/300627#M220317</guid>
      <dc:creator>HanzalaShaikh</dc:creator>
      <dc:date>2020-07-30T16:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: log4j:ERROR Could not find value for key log4j.appender.A</title>
      <link>https://community.cloudera.com/t5/Support-Questions/log4j-ERROR-Could-not-find-value-for-key-log4j-appender-A/m-p/365350#M239330</link>
      <description>&lt;P&gt;how to solve this?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 02:01:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/log4j-ERROR-Could-not-find-value-for-key-log4j-appender-A/m-p/365350#M239330</guid>
      <dc:creator>supersonic-2021</dc:creator>
      <dc:date>2023-03-06T02:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: log4j:ERROR Could not find value for key log4j.appender.A</title>
      <link>https://community.cloudera.com/t5/Support-Questions/log4j-ERROR-Could-not-find-value-for-key-log4j-appender-A/m-p/365600#M239359</link>
      <description>&lt;P&gt;Welcome to the community&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/103830"&gt;@supersonic-2021&lt;/a&gt;&amp;nbsp;.&amp;nbsp;As this is an older post, we recommend starting a new thread. The new thread will provide the opportunity to provide details specific to your environment that could aid others in providing a more accurate answer to your question.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2023 20:04:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/log4j-ERROR-Could-not-find-value-for-key-log4j-appender-A/m-p/365600#M239359</guid>
      <dc:creator>cjervis</dc:creator>
      <dc:date>2023-03-07T20:04:28Z</dc:date>
    </item>
  </channel>
</rss>

