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

HIVE-28657: Use protoc-jar-maven-plugin to generate protobuf classes #5589

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Aggarwal-Raghav
Copy link
Contributor

What changes were proposed in this pull request?

HIVE-28657

Why are the changes needed?

Currently we need to maintain the generated protobuf java code whenever we update protobuf version by running-Pprotobuf profile. We can use protoc-jar-maven-plugin to dynamically generate protobuf classes from proto files.

Does this PR introduce any user-facing change?

NO

Is the change a dependency upgrade?

NO

How was this patch tested?

Will check the CI result

@zhangbutao
Copy link
Contributor

Can you add a description of what command to use to compile&generate protobuf codes?
Thanks.

@Aggarwal-Raghav
Copy link
Contributor Author

Can you add a description of what command to use to compile&generate protobuf codes? Thanks.

@zhangbutao , thanks for the review. There is not explicit command used, the use of this plugin is to generate the protobuf code on the fly and remove the protobuf profile.

Please see the description of this JIRA HIVE-28657 and TEZ-4428.

@zhangbutao
Copy link
Contributor

+1 LGTM
Wait for @abstractdog review. :)

@Aggarwal-Raghav
Copy link
Contributor Author

@abstractdog, can you please help with the review?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants