Uh oh!
There was an error while loading. Please reload this page.
PHOENIX-6216 Add Omid and Tephra support to create-release script - #959
PHOENIX-6216 Add Omid and Tephra support to create-release script#959stoty wants to merge 1 commit into
Conversation
stoty
commented
Nov 10, 2020
💔 -1 overall
This message was automatically generated. |
stoty
commented
Nov 13, 2020
💔 -1 overall
This message was automatically generated. |
| ENV YETUS_HOME /opt/apache-yetus-${YETUS_VERSION} | ||
| # Install protobuf-2.5 protoc binary from maven central, as that seems to be the only binary available | ||
| RUN mkdir /opt/protobuf-2.5.0 |
There was a problem hiding this comment.
Not particular to this change, but I hope Omid dependency on protobuf 2.5.0 doesn't conflict with the protobuf 3.0+ in Hadoop/HBase/Phoenix runtime.
There was a problem hiding this comment.
It doesn't make the HBase protobuf version mess any worse than it already is :)
We use unshaded 2.5 for the coprocessor api, just as in Phoenix.
| #Omid has an even more nonstandard maven structure, and needs more hacks | ||
| for i in hbase-shims/hbase-*; do | ||
| if [ -e "$i" ]; then | ||
| sed -i -e "0,\#<version>.*</version>#{s##<version>${this_version}</version>#}" $i/pom.xml |
There was a problem hiding this comment.
I tried to find the alternative with options in the version maven plugin to update multi-level parent-child relationship but it seems we have no option other than this hack
There was a problem hiding this comment.
Long term we should fix the build to build both set of artifacts in one pass, like connectors and tephra does.
No description provided.