[
https://issues.apache.org/jira/browse/HIVE-24691?focusedWorklogId=543585&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-543585
]
ASF GitHub Bot logged work on HIVE-24691:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 28/Jan/21 11:27
Start Date: 28/Jan/21 11:27
Worklog Time Spent: 10m
Work Description: kgyrtkirk commented on a change in pull request #1916:
URL: https://github.com/apache/hive/pull/1916#discussion_r566019804
##########
File path: pom.xml
##########
@@ -1360,6 +1360,13 @@
</bannedImports>
<includeTestCode>true</includeTestCode>
</restrictImports>
+ <restrictImports
implementation="de.skuzzle.enforcer.restrictimports.RestrictImports">
+ <reason>Do not use commons-logging; use slf4j</reason>
+ <bannedImports>
+ <bannedImport>org.apache.commons.logging.**</bannedImport>
Review comment:
okay; removing commons-logging usage is usefull initself ; and that NDC
usage is interesting - might worth open a separate ticket to investigate that
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 543585)
Time Spent: 40m (was: 0.5h)
> Ban commons-logging (again)
> ---------------------------
>
> Key: HIVE-24691
> URL: https://issues.apache.org/jira/browse/HIVE-24691
> Project: Hive
> Issue Type: Bug
> Components: Logging
> Affects Versions: 4.0.0
> Reporter: Zoltan Matyus
> Assignee: Zoltan Matyus
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 40m
> Remaining Estimate: 0h
>
> The usage of commons-logging has been completely removed once from Hive in
> HIVE-20019. However, new usage has been added since, despite attempts to ban
> this (bannedDependencies). I'm removing all usage again, and add another way
> to ban using it (restrictImports).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)