[
https://issues.apache.org/jira/browse/DRILL-7586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17036905#comment-17036905
]
ASF GitHub Bot commented on DRILL-7586:
---------------------------------------
oleg-zinovev commented on pull request #1984: DRILL-7586
URL: https://github.com/apache/drill/pull/1984
# [DRILL-7586](https://issues.apache.org/jira/browse/DRILL-7586):
drill-hive-exec-shaded contains commons-lang3 version 3.1
## Description
fix excludes classes related to commons-lang3 from drill-hive-exec-shaded
## Testing
The custom plugin stopped throwing a java error.lang.NoSuchMethodError:
org.apache.commons.lang3.StringUtils.prependIfMissing (this method is not
available in commons-lang3 3.1)
----------------------------------------------------------------
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]
> drill-hive-exec-shaded contains commons-lang3 version 3.1
> ---------------------------------------------------------
>
> Key: DRILL-7586
> URL: https://issues.apache.org/jira/browse/DRILL-7586
> Project: Apache Drill
> Issue Type: Bug
> Affects Versions: 1.16.0, 1.17.0
> Reporter: Oleg Zinoviev
> Assignee: Oleg Zinoviev
> Priority: Major
>
> org.apache.hive:hive-exec contains shaded commons-lang3 library version 3.1.
> During the Drill build, these classes are added to the Vasya library. This
> causes an incorrect version of StringUtils to be loaded in runtime (since the
> jars directory is found in classpath earlier than jars/3rdparty)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)