[
https://issues.apache.org/jira/browse/PHOENIX-5572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16975398#comment-16975398
]
Kevin Risden commented on PHOENIX-5572:
---------------------------------------
Just a question/idea from the peanut gallery. Would something like
https://maven.apache.org/enforcer/enforcer-rules/dependencyConvergence.html
help here to avoid issues like this in the future?
> httpclient NoClassDefFoundError due to old httpcore version
> -----------------------------------------------------------
>
> Key: PHOENIX-5572
> URL: https://issues.apache.org/jira/browse/PHOENIX-5572
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 5.1.0
> Reporter: István Tóth
> Assignee: István Tóth
> Priority: Major
> Attachments: PHOENIX-5572.master.v1.patch
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Phoenix pulls in httpclient 4.5.2 via hadoop3.
> It also depends on httpcore 4.1.3 via tephra.
> Unfortunately, httpclient 4.5.2 is not compatible with httpcore 4.1.3, and
> trying to use it results in
> _java.lang.NoClassDefFoundError:
> org/apache/phoenix/shaded/org/apache/http/Consts_
> This was found during testing the spark connector on a cluster with KMS.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)