Skip to content

HDDS-15681. Switch to io.github.ascopes:protobuf-maven-plugin - #11429

Merged
smengcl merged 4 commits into
apache:masterfrom
adoroszlai:HDDS-15681
Oct 7, 2026
Merged

smengcl merged 4 commits into
apache:masterfrom
adoroszlai:HDDS-15681

Conversation

@adoroszlai

@adoroszlai adoroszlai commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Switch protobuf-maven-plugin from org.xolstice.maven.plugins to io.github.ascopes, since the former is no longer maintained and recommends the latter.

The new plugin requires Java 17 at build time. It also requires newer Maven (3.9.6+).

https://issues.apache.org/jira/browse/HDDS-15681

How was this patch tested?

CI:
https://github.com/adoroszlai/ozone/actions/runs/37510970916

@adoroszlai adoroszlai added the build Pull request that modifies the build process label Oct 7, 2026
@adoroszlai adoroszlai self-assigned this Oct 7, 2026
@github-actions github-actions Bot added documentation Improvements or additions to documentation scm om labels Oct 7, 2026
<goal>test-compile-custom</goal>
<goal>generate</goal>
</goals>
<configuration>

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.

Please set <incrementalCompilation>false</incrementalCompilation> for compile-proto-for-ratis here and in interface-server. A second build without clean skips protoc but runs the shading replacement again, producing org.apache.ratis.thirdparty.org.apache.ratis.thirdparty... and failing compilation. I reproduced this; disabling incremental compilation fixes the failure.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks, fixed.

@rich7420

rich7420 commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

@adoroszlai thanks for the update

@rich7420 rich7420 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.

LGTM

@chungen0126 chungen0126 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 LGTM
We also need a follow-up PR to update the Ozone documentation:
https://ozone.apache.org/docs/next/developer-guide/build/maven

@smengcl
smengcl merged commit 5c759d0 into apache:master Oct 7, 2026
127 of 130 checks passed
@smengcl

smengcl commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

Thanks @adoroszlai for the patch. Thanks @rich7420 @chungen0126 for the reviews.

@smengcl

smengcl commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

+1 LGTM We also need a follow-up PR to update the Ozone documentation: ozone.apache.org/docs/next/developer-guide/build/maven

Filed HDDS-16777 to update doc.

@adoroszlai
adoroszlai deleted the HDDS-15681 branch October 8, 2026 07:53
@adoroszlai

Copy link
Copy Markdown
Contributor Author

Thanks @chungen0126, @rich7420, @smengcl for the review.

errose28 added a commit to errose28/ozone that referenced this pull request Oct 8, 2026
* master: (23 commits)
  HDDS-15951. Reduce ofs getFileChecksum to a single OM RPC (apache#11380)
  HDDS-16746. Local Stream onCommand should drain buffers before commit PutBlock (apache#11427)
  HDDS-16781. Fix intermittent ReadChunk count mismatch in TestKeyInputStream (apache#11443)
  HDDS-16779. FSO rename of a file to itself should be a no-op (apache#11440)
  HDDS-16724. Add support for missing S3 apis to STS (apache#11413)
  HDDS-16620. Expose BlockReadCursor as an iterator of streaming ReadBlock ranges (apache#11442)
  HDDS-16624. Improve AbortIncompleteMultipartUpload lifecycle validation error message (apache#11344)
  HDDS-16367. Update threat model with information about internal protocols (apache#11185)
  HDDS-16304. Convert RpcMetrics latency counters to lock-free ConcurrentMutableStat (apache#11425)
  HDDS-15681. Switch to io.github.ascopes:protobuf-maven-plugin (apache#11429)
  HDDS-16258. Refactor streaming block reads and fix checksum verification for variable-sized chunks (apache#11302)
  HDDS-16598. Fix intermittent failure in TestContainerStateMachine (apache#11319)
  HDDS-15802. Add integration tests for per-volume push replication (apache#11146)
  HDDS-16657. Reject lifecycle Transition actions in PutBucketLifecycleConfiguration (apache#11430)
  HDDS-16714. Split kubernetes check by environment (apache#11406)
  HDDS-16752. Bump guava to 33.7.2-jre (apache#11433)
  HDDS-16581. Bump ozone-runner to 20260922-1 (apache#11431)
  HDDS-16611. Use MutableGaugeLong for total count metrics in OMMetrics (apache#11410)
  HDDS-16738. Let dependabot ignore jetty minor version upgrades (apache#11422)
  HDDS-16683. Upgrade Jetty from 12.0.38 to 12.1.14 (apache#11424)
  ...

Conflicts:
hadoop-hdds/common/src/main/java/org/apache/hadoop/ozone/OzoneManagerVersion.java
hadoop-hdds/container-service/src/test/java/org/apache/hadoop/ozone/container/keyvalue/TestKeyValueHandler.java
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/container/replication/ReplicationManager.java
hadoop-hdds/server-scm/src/test/java/org/apache/hadoop/hdds/scm/container/replication/TestReplicationManager.java
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/file/OMFileCreateRequestWithFSO.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Pull request that modifies the build process documentation Improvements or additions to documentation om scm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants