HDDS-3911. Compile error in acceptance test on HDDS-2823 #1157
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
Fix compile error in
acceptancecheck onHDDS-2823branch. The error is caused by the following:protobuf-maven-pluginto compile.protofiles.acceptancecheck to build directly on GitHub's runner. Previously it was built inside a docker container which comes with Protobuf pre-installed.SCMRatisProtocol.protoon theHDDS-2823branch, in the old location and usinghadoop-maven-plugins:protocto compile it. (It was the correct location and plugin at that time.)mastertoHDDS-2823, so nowprotocis no longer available when building Ozone foracceptance. Other checks are still run in the docker container, so they are not affected.The fix is to move new
SCMRatisProtocol.prototohadoop-hdds/interface-serverproject, and let it be compiled byprotobuf-maven-plugin.https://issues.apache.org/jira/browse/HDDS-3911
How was this patch tested?
Compiled locally after uninstalling Protobuf:
Acceptance test compiles fine:
https://github.com/adoroszlai/hadoop-ozone/runs/826834813#step:5:8603