Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-5572

httpclient NoClassDefFoundError due to old httpcore version

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.1.0
    • 5.1.0
    • None
    • None

    Description

      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.

       

      Attachments

        1. PHOENIX-5572.master.v1.patch
          0.8 kB
          Istvan Toth

        Issue Links

          Activity

            People

              stoty Istvan Toth
              stoty Istvan Toth
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m