David Lavati created HIVE-22278: ----------------------------------- Summary: Upgrade log4j to 2.12.1 Key: HIVE-22278 URL: https://issues.apache.org/jira/browse/HIVE-22278 Project: Hive Issue Type: Improvement Reporter: David Lavati Assignee: David Lavati
Hive's currently using log4j 2.10.0 and according to HIVE-21273, a number of issues are present in it, which can be resolved by upgrading to 2.12.1: Curly braces in parameters are treated as placeholders affectsVersions:2.8.2;2.9.0;2.10.0 [https://issues.apache.org/jira/projects/LOG4J2/issues/LOG4J2-2032?filter=allopenissues] Remove Log4J API dependency on Management APIs affectsVersions:2.9.1;2.10.0 [https://issues.apache.org/jira/projects/LOG4J2/issues/LOG4J2-2126?filter=allopenissues] Log4j2 throws NoClassDefFoundError in Java 9 affectsVersions:2.10.0;2.11.0 [https://issues.apache.org/jira/projects/LOG4J2/issues/LOG4J2-2129?filter=allopenissues] ThreadContext map is cleared => entries are only available for one log event affectsVersions:2.10.0 [https://issues.apache.org/jira/projects/LOG4J2/issues/LOG4J2-2158?filter=allopenissues] Objects held in SortedArrayStringMap cannot be filtered during serialization affectsVersions:2.10.0 [https://issues.apache.org/jira/projects/LOG4J2/issues/LOG4J2-2163?filter=allopenissues] NullPointerException at org.apache.logging.log4j.util.Activator.loadProvider(Activator.java:81) in log4j 2.10.0 affectsVersions:2.10.0 [https://issues.apache.org/jira/projects/LOG4J2/issues/LOG4J2-2182?filter=allopenissues] MarkerFilter onMismatch invalid attribute in .properties affectsVersions:2.10.0 [https://issues.apache.org/jira/projects/LOG4J2/issues/LOG4J2-2202?filter=allopenissues] Configuration builder classes should look for "onMismatch"; not "onMisMatch". affectsVersions:2.4;2.4.1;2.5;2.6;2.6.1;2.6.2;2.7;2.8;2.8.1;2.8.2;2.9.0;2.10.0 [https://issues.apache.org/jira/projects/LOG4J2/issues/LOG4J2-2219?filter=allopenissues] Empty Automatic-Module-Name Header affectsVersions:2.10.0;2.11.0;3.0.0 [https://issues.apache.org/jira/projects/LOG4J2/issues/LOG4J2-2254?filter=allopenissues] ConcurrentModificationException from org.apache.logging.log4j.status.StatusLogger.<clinit>(StatusLogger.java:71) affectsVersions:2.10.0 [https://issues.apache.org/jira/projects/LOG4J2/issues/LOG4J2-2276?filter=allopenissues] Allow SystemPropertiesPropertySource to run with a SecurityManager that rejects system property access affectsVersions:2.10.0 [https://issues.apache.org/jira/projects/LOG4J2/issues/LOG4J2-2279?filter=allopenissues] ParserConfigurationException when using Log4j with oracle.xml.jaxp.JXDocumentBuilderFactory affectsVersions:2.10.0 [https://issues.apache.org/jira/projects/LOG4J2/issues/LOG4J2-2283?filter=allopenissues] Log4j 2.10+not working with SLF4J 1.8 in OSGI environment affectsVersions:2.10.0;2.11.0 [https://issues.apache.org/jira/projects/LOG4J2/issues/LOG4J2-2305?filter=allopenissues] fix the CacheEntry map in ThrowableProxy#toExtendedStackTrace to be put and gotten with same key affectsVersions:2.6.2;2.7;2.8;2.8.1;2.8.2;2.9.0;2.9.1;2.10.0;2.11.0 [https://issues.apache.org/jira/projects/LOG4J2/issues/LOG4J2-2389?filter=allopenissues] NullPointerException when closing never used RollingRandomAccessFileAppender affectsVersions:2.10.0;2.11.1 [https://issues.apache.org/jira/projects/LOG4J2/issues/LOG4J2-2418?filter=allopenissues] -- This message was sent by Atlassian Jira (v8.3.4#803005)