-
Notifications
You must be signed in to change notification settings - Fork 9.1k
HADOOP-19065. Improve Protocol Buffers installation #6526
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
Conversation
🎊 +1 overall
This message was automatically generated. |
someone who knows curl better than me will need to review this |
Hi @tasanuma Can you help me review it? Thanks. Thanks @steveloughran. |
Although I'm not an expert in curl, I believe this change is fine as it aligns with the instruction for CMake. However, in the first place, protobuf 3.7.1 could be outdated. We have started using protobuf 3.21 by HADOOP-19069. |
@tasanuma Thanks for your reply and review. After the updated version was tested locally, it can be downloaded normally. |
@huangzhaobo99 Thanks for updating it, but there are still many mentions of Protocol Buffers 3.7.1 in BUILDING.txt. If we want to update all them to version 3.21.12, we firstly need to update the Dockerfile and install-protobuf.sh to install protobuf 3.21.12, and we must make sure that Hadoop can still be built successfully. |
@tasanuma Thanks for the reminder. I will complete it after. |
f470b40
to
bd494fe
Compare
🎊 +1 overall
This message was automatically generated. |
@tasanuma Have completed, Whether or not need to modify the PR title? Currently, The description of PR has been modified at point 5. |
(!) A patch to the testing environment has been detected. |
💔 -1 overall
This message was automatically generated. |
(!) A patch to the testing environment has been detected. |
💔 -1 overall
This message was automatically generated. |
(!) A patch to the testing environment has been detected. |
💔 -1 overall
This message was automatically generated. |
Pipeline failed, but the local env launched docker image was successfully built and compiled. cc @tasanuma
|
(!) A patch to the testing environment has been detected. |
💔 -1 overall
This message was automatically generated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
+1
…#6526) Instructions and docker script for installing protobuf updated from 3.7.1 to 3.21.12 Contributed by huangzhaobo
@huangzhaobo99 Do you have any actual environment to use these dockerfiles? This involves many operating systems, and I am not sure whether it can really be executed normally. I will try to use this change on the Centos7.9 I prepared, including x86 & arm processors, and hope it goes well. |
@slfan1989 It has been verified, including manual installation. |
Thanks for the feedback, this is good news. |
@slfan1989 docker worked on the 3.3.6 release for me with macbook m1 for arm and AMD x86 on EC2 for x86 release. doing that in US-west-2 built pretty fast as that is where the maven central repo is |
Description of PR
JIRA: https://issues.apache.org/jira/browse/HADOOP-19065
When downloading 'Protocol Buffers', there is no progress bar, Not very friendly for user.
The '-s' param is Silent mode, and if the network is blocked, without prompt, Not very friendly either.
Now, remove the -S -s param, Consistent with the install steps of CMake 3.19, concise and easy to understand.

reference: CMake 3.19