[ https://issues.apache.org/jira/browse/PHOENIX-6010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17157883#comment-17157883 ]
Istvan Toth edited comment on PHOENIX-6010 at 7/15/20, 5:57 AM: ---------------------------------------------------------------- I've attached the WIP branches. Build instructions (mostly as a memo for myself for the Omid build CLI) * Build phoenix-thirdparty, which is the main Phoenix repo for now ** {{cd phoenix-thirdparty; mvn clean install}} * Build Tephra ** {{mvn clean install}} * Build Omid ** {{mvn clean install -Phbase-2 -Dprotoc.path=/opt/toolchain/protobuf-2.5.0/bin/}} * Build Phoenix ** {{mvn clean install}} was (Author: stoty): I've attached the WIP branches. Build instructions (mostly as a memo for myself for the Omid build CLI) * Build phoenix-thirdparty, which is the main Phoenix repo for now ** {{cd phoenix-thirdparty; mvn clean install}} * Build Tephra ** {{mvn clean install}} * Build Omid ** {{mvn clean install -pl hbase-coprocessor -Phbase-2 -Dprotoc.path=/opt/toolchain/protobuf-2.5.0/bin/}} * Build Phoenix ** {{mvn clean install}} > Create phoenix-thirdparty, and consume guava through it > ------------------------------------------------------- > > Key: PHOENIX-6010 > URL: https://issues.apache.org/jira/browse/PHOENIX-6010 > Project: Phoenix > Issue Type: Improvement > Components: core, omid, tephra > Affects Versions: 5.1.0, 4.16.0 > Reporter: Istvan Toth > Assignee: Istvan Toth > Priority: Major > > We have long-standing and well-documented problems with Guava, just like the > rest of the Hadoop components. > Adopt the solution used by HBase: > * create phoenix-thirdparty repo > * create a pre-shaded phoenix-shaded-guava artifact in it > * Use the pre-shaded Guava in every phoenix component > The advantages are well-known, but to name a few: > * Phoenix will work with Hadoop 3.1.3+ > * One less CVE in our direct dependencies > * No more conflict with our consumer's Guava versions -- This message was sent by Atlassian Jira (v8.3.4#803005)