[ https://issues.apache.org/jira/browse/HIVE-26309?focusedWorklogId=780048&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-780048 ]
ASF GitHub Bot logged work on HIVE-26309: ----------------------------------------- Author: ASF GitHub Bot Created on: 09/Jun/22 16:45 Start Date: 09/Jun/22 16:45 Worklog Time Spent: 10m Work Description: zabetak opened a new pull request, #3356: URL: https://github.com/apache/hive/pull/3356 ### Why are the changes needed? 1. Reduce maintenance overhead for the Hive community 2. Reduce dependencies to log4j-core ### Does this PR introduce _any_ user-facing change? Breaking change for developpers of 4.0.0-alpha-1 consuming test-utils module ### How was this patch tested? Existing tests Issue Time Tracking ------------------- Worklog Id: (was: 780048) Remaining Estimate: 0h Time Spent: 10m > Remove Log4jConfig junit extension in favor LoggerContextSource > --------------------------------------------------------------- > > Key: HIVE-26309 > URL: https://issues.apache.org/jira/browse/HIVE-26309 > Project: Hive > Issue Type: Task > Components: Testing Infrastructure > Affects Versions: 4.0.0-alpha-1 > Reporter: Stamatis Zampetakis > Assignee: Stamatis Zampetakis > Priority: Minor > Time Spent: 10m > Remaining Estimate: 0h > > The Log4JConfig JUnit extension was introduced by HIVE-24588 in order to > facilitate running tests with a specific log4j2 configuration. > However, there is a very similar and seemingly more powerful JUnit extension > in the official LOG4J2 release/repo, i.e., > [LoggerContextSource|https://github.com/apache/logging-log4j2/blob/eedc3cdb6be6744071f8ae6dcfb37b26b1fc0940/log4j-core/src/test/java/org/apache/logging/log4j/junit/LoggerContextSource.java]. > > The goal of this JIRA is to remove code related to Log4jConfig from Hive repo > and replace its usages with LoggerContextSource. By doing this we reduce the > maintenance overhead for the Hive community and reduce the dependencies to > log4j-core. -- This message was sent by Atlassian Jira (v8.20.7#820007)