[
https://issues.apache.org/jira/browse/YARN-11921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18059152#comment-18059152
]
ASF GitHub Bot commented on YARN-11921:
---------------------------------------
LamiumAmplexicaule commented on PR #8156:
URL: https://github.com/apache/hadoop/pull/8156#issuecomment-3916770172
Since the version is not specified, using the newly released v5.0.0 results
in build failure due to breaking changes.
```shell
$ ./start-build-env.sh ubuntu_24
$ git log --oneline -n1
56192be95af (HEAD -> trunk, origin/trunk, origin/HEAD) HDFS-17861. The
mis-behavior of commitBlockSynchronization may cause standby namenode and
observer namenode crash. (#8120)
$ mvn package -f hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/pom.xml
~~~
[ERROR] Failed to execute goal
io.github.ascopes:protobuf-maven-plugin:5.0.0:generate (default) on project
hadoop-yarn-csi: The parameters 'protoc' for goal
io.github.ascopes:protobuf-maven-plugin:5.0.0:generate are missing or invalid
-> [Help 1]
```
- https://github.com/ascopes/protobuf-maven-plugin/releases/tag/v5.0.0
Specifying a version earlier than v5.0.0 does not cause the build to fail.
```shell
$ git diff hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/pom.xml
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/pom.xml
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/pom.xml
index fd780bd6963..91c96d749f6 100644
-
> Replace unsupported org.xolstice.maven.plugins in hadoop-yarn-csi
> -----------------------------------------------------------------
>
> Key: YARN-11921
> URL: https://issues.apache.org/jira/browse/YARN-11921
> Project: Hadoop YARN
> Issue Type: Bug
> Components: build, yarn-csi
> Affects Versions: 3.4.2
> Reporter: Edward Capriolo
> Assignee: Edward Capriolo
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.5.0
>
>
> org.xolstice.maven.plugins is end of life. Lucky for us there is a better one
> that is a drop in replacement.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]