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

Align mockito version with Hadoop and HBase

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.2.0
    • 5.2.0
    • None
    • None

    Description

      There is a well known incompatibility between old versions of mockito-all and mockito-core and newer versions. It manifests as IncompatibleClassChangeErrors and other linkage problems. The Hadoop minicluster in versions 3.x embed mockito classes in the minicluster.

      To avoid potential problems it would be best to align Phoenix use of mockito (mockito-core) with downstreamers. HBase uses mockito-core 2.28.2 on branch-2.4 and branch-2.5. (Phoenix is on 1.10.19.) I checked Hadoop branch-3.3 and it's also on 2.28.2.

      I recently opened a PR for OMID-226 to fix the same concern in phoenix-omid.

      Attachments

        Issue Links

          Activity

            People

              stoty Istvan Toth
              apurtell Andrew Kyle Purtell
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: