Skip to content

PHOENIX-6216 Add Omid and Tephra support to create-release script - #959

Closed
stoty wants to merge 1 commit into
apache:masterfrom
stoty:PHOENIX-6216
Closed

PHOENIX-6216 Add Omid and Tephra support to create-release script#959
stoty wants to merge 1 commit into
apache:masterfrom
stoty:PHOENIX-6216

Conversation

@stoty

Copy link
Copy Markdown
Contributor

No description provided.

@stoty

Copy link
Copy Markdown
ContributorAuthor

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec4m 14sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗mvndep3m 47sMaven dependency ordering for branch
_ Patch Compile Tests _
+0 🆗mvndep0m 10sMaven dependency ordering for patch
+1 💚hadolint0m 2sThere were no new hadolint issues.
-1 ❌shellcheck0m 7sThe patch generated 3 new + 6 unchanged - 1 fixed = 9 total (was 7)
+1 💚shelldocs0m 1sThere were no new shelldocs issues.
+1 💚whitespace0m 0sThe patch has no whitespace issues.
_ Other Tests _
+0 🆗asflicense0m 0sASF License check generated no output?
8m 46s
SubsystemReport/Notes
DockerClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-959/1/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#959
Optional Testsdupname asflicense hadolint shellcheck shelldocs
unameLinux d12ac8db3a47 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev/phoenix-personality.sh
git revisionmaster / 28518ff
shellcheckhttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-959/1/artifact/yetus-general-check/output/diff-patch-shellcheck.txt
Max. process+thread count52 (vs. ulimit of 30000)
modulesC: U:
Console outputhttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-959/1/console
versionsgit=2.7.4 maven=3.3.9 shellcheck=0.7.0 hadolint=1.17.5-0-g443423c
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@stoty

Copy link
Copy Markdown
ContributorAuthor

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec6m 44sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗mvndep3m 12sMaven dependency ordering for branch
_ Patch Compile Tests _
+0 🆗mvndep0m 11sMaven dependency ordering for patch
-1 ❌shellcheck0m 8sThe patch generated 2 new + 6 unchanged - 1 fixed = 8 total (was 7)
+1 💚shelldocs0m 0sThere were no new shelldocs issues.
+1 💚whitespace0m 0sThe patch has no whitespace issues.
_ Other Tests _
+0 🆗asflicense0m 0sASF License check generated no output?
10m 39s
SubsystemReport/Notes
DockerClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-959/2/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#959
Optional Testsdupname asflicense shellcheck shelldocs
unameLinux 8d7c17e1d245 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev/phoenix-personality.sh
git revisionmaster / 6cc9d50
shellcheckhttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-959/2/artifact/yetus-general-check/output/diff-patch-shellcheck.txt
Max. process+thread count47 (vs. ulimit of 30000)
modulesC: U:
Console outputhttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-959/2/console
versionsgit=2.7.4 maven=3.3.9 shellcheck=0.7.0
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@ankitsinghalankitsinghal left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Long term we should fix the build to build both set of artifacts in one pass, like connectors and tephra does.

@stotystoty closed this Nov 13, 2020
@stoty
stoty deleted the PHOENIX-6216 branch July 29, 2021 13:27
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@stoty@ankitsinghal