You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Nihal Jain (Jira)" <ji...@apache.org> on 2024/03/06 18:00:00 UTC
[jira] [Assigned] (PHOENIX-7262) Backport "PHOENIX-6769 Align mockito version with Hadoop and HBase" to branch 5.1
[ https://issues.apache.org/jira/browse/PHOENIX-7262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nihal Jain reassigned PHOENIX-7262:
-----------------------------------
Assignee: Nihal Jain (was: Istvan Toth)
> Backport "PHOENIX-6769 Align mockito version with Hadoop and HBase" to branch 5.1
> ---------------------------------------------------------------------------------
>
> Key: PHOENIX-7262
> URL: https://issues.apache.org/jira/browse/PHOENIX-7262
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 5.1.3
> Reporter: Nihal Jain
> Assignee: Nihal Jain
> Priority: Major
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)