[ 
https://issues.apache.org/jira/browse/PHOENIX-7171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17804626#comment-17804626
 ] 

Istvan Toth edited comment on PHOENIX-7171 at 1/10/24 4:16 PM:
---------------------------------------------------------------

I thought about this some more:

HBase (at the very least Hbase 2.4.0+ works with ZK 3.8 fine, the changes mad 
by HBase were only needed for the minicluster test dependencies)

The ZK used by Phoenix directly is shaded, and independent of HBase.

If we simply update to ZK 3.8, then the only real change (apart from the test 
classpath) is that the ZK used by HBase in the -client shaded artifacts is also 
going to be upgraded to 3.8, which should not cause problems. 

Direct consumers of phoenix-core can exclude or dependency manage the 
ZK/Curator coming from Phoenix/Omid if they have probems.






was (Author: stoty):
I thought about this some more:

HBase (at the very least Hbase 2.4.0+ works with ZK 3.8 fine, the changes mad 
by HBase were only needed for the minicluster test dependencies)

The ZK used by Phoenix directly is shaded, and independent of HBase.

If we simply update to ZK 3.8, then the only real change (apart from the test 
classpath) is that the ZK used by HBase in the -client shaded artifacts is also 
going to be upgraded to 3.8, which should not cause problems. 

Direct consumers of phoenix-core can exclude or dependency manage the 
ZK/Curator coming Phoenix/Omid if they have probems.





> Update Zookeeper to 3.8.3 when building with HBase 2.4+
> -------------------------------------------------------
>
>                 Key: PHOENIX-7171
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-7171
>             Project: Phoenix
>          Issue Type: Bug
>          Components: core
>            Reporter: Istvan Toth
>            Priority: Major
>
> HBase has recently upgraded to ZK 3.8 on all active branhces.
> Phoenix currently downgrades ZK to 3.5.7 in its dependencies and the shaded 
> artifacts.
> Find a way to avoid that
> * Can we avoid explicitly depending on ZK, and taking the transitve 
> dependency from HBase ?
> * Does this work with Omid ? (exclude ZK from Omid dependency ?)
> * Do the Curator versions in Omid an Phoenix work with ZK 3.8 ?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to