Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BIGTOP-3558. Fix build failure of HBase on ppc64le. #789

Merged
merged 3 commits into from Jun 25, 2021

Conversation

iwasakims
Copy link
Member

https://issues.apache.org/jira/browse/BIGTOP-3558

ppc64le binary of protoc 3.5.1-1 is not available in maven repositories. Creating artifact from locally installed protobuf-3.5.1.1 should be fix. same as done on #785 and #786 .

I did not test this on my local since I don't have ppc64le environment now.

The same fix with replacement of s/ppc64le/aarch64/g worked on CentOS 7 aarch64.

@afsanjar
Copy link
Contributor

@iwasakims great job, but please check my comment in https://issues.apache.org/jira/browse/BIGTOP-3558

@sekikn
Copy link
Contributor

sekikn commented Jun 23, 2021

@iwasakims Would you add the following change to do-component-build? I tested the PR on the ppc64le worker node, but the default version of asciidoctorj seems to cause OOM when generating PDF.

-  sed  -i "s|<version>1.5.0-alpha.6</version>|<version>1.5.0-alpha.11</version>|" pom.xml
+  sed -i 's|<asciidoctorj.pdf.version>.*</asciidoctorj.pdf.version>|<asciidoctorj.pdf.version>1.5.0-alpha.11</asciidoctorj.pdf.version>|' pom.xml

…y by avoiding duplicate architecture specific conditionals.
@iwasakims
Copy link
Member Author

@afsanjar Thanks. The patch you mentioned ( https://github.com/ppc64le/build-scripts/blob/master/p/protoc/ubuntu-20.04/protoc-3.5.1.patch ) looks like backport of protocolbuffers/protobuf@36ba04b .

I'm going to add the patch to bigtop_toolchain.

@iwasakims
Copy link
Member Author

@sekikn @afsanjar, I pushed the changes addressing your comments.

@afsanjar
Copy link
Contributor

+1

@sekikn
Copy link
Contributor

sekikn commented Jun 25, 2021

I'm also +1, tested on the ppc64le worker node that ./gradlew toolchain and ./gradlew hbase-pkg worked as expected.
Thanks @afsanjar @iwasakims!

@sekikn sekikn merged commit 69cfa26 into apache:master Jun 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants