You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/09/30 13:12:00 UTC
[jira] [Work logged] (HIVE-26579) Prepare for Hadoop switching to Reload4j
[ https://issues.apache.org/jira/browse/HIVE-26579?focusedWorklogId=813686&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-813686 ]
ASF GitHub Bot logged work on HIVE-26579:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 30/Sep/22 13:11
Start Date: 30/Sep/22 13:11
Worklog Time Spent: 10m
Work Description: adoroszlai opened a new pull request, #3635:
URL: https://github.com/apache/hive/pull/3635
## What changes were proposed in this pull request?
Hadoop moved from Log4j1 to Reload4j (HADOOP-18088). The goal of this task is to prepare Hive for that change:
* Hive build fails with current `useStrictFiltering=true` setting in some assemblies, due to excluded dependency (log4j) not really being present.
* Exclude `ch.qos.reload4j:*` in addition to current `log4j:*` to avoid polluting the assemblies and shaded jars.
https://issues.apache.org/jira/browse/HIVE-26579
## How was this patch tested?
CI build was successful:
https://github.com/adoroszlai/hive/actions/runs/3158692928/jobs/5141014133
Built Hive locally, checked artifacts affected by the change still do not have Log4j1 jar/classes:
```
$ mvn -DskipTests -Pdist clean install
...
[INFO] BUILD SUCCESS
$ tar tzvf standalone-metastore/metastore-server/target/apache-hive-standalone-metastore-server-4.0.0-alpha-2-SNAPSHOT-bin.tar.gz | grep log4j
-rw-r--r
Issue Time Tracking
-------------------
Worklog Id: (was: 813686)
Remaining Estimate: 0h
Time Spent: 10m
> Prepare for Hadoop switching to Reload4j
> ----------------------------------------
>
> Key: HIVE-26579
> URL: https://issues.apache.org/jira/browse/HIVE-26579
> Project: Hive
> Issue Type: Task
> Components: Build Infrastructure
> Reporter: Attila Doroszlai
> Assignee: Attila Doroszlai
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Hadoop moved from Log4j1 to Reload4j (HADOOP-18088). The goal of this task is to prepare Hive for that change:
> * Hive build fails with current {{useStrictFiltering=true}} setting in some assemblies, due to excluded dependency (log4j) not really being present.
> * Exclude {{ch.qos.reload4j:\*}} in addition to current {{log4j:\*}} to avoid polluting the assemblies and shaded jars.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)