You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "István Tóth (Jira)" <ji...@apache.org> on 2019/11/15 20:34:00 UTC

[jira] [Created] (PHOENIX-5572) httpclient NoClassDefFoundError due to old httpcore version

István Tóth created PHOENIX-5572:
------------------------------------

             Summary: 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


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)