You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2026/02/02 17:52:00 UTC
[jira] [Commented] (HADOOP-19790) Build Failing on Trunk
[ https://issues.apache.org/jira/browse/HADOOP-19790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18056002#comment-18056002 ]
ASF GitHub Bot commented on HADOOP-19790:
-----------------------------------------
steveloughran commented on code in PR #8214:
URL: https://github.com/apache/hadoop/pull/8214#discussion_r2755562878
##########
BUILDING.txt:
##########
@@ -63,7 +63,11 @@ Refer to dev-support/docker/Dockerfile):
$ sudo apt-get update
$ sudo apt-get -y install openjdk-17-jdk
* Maven
- $ sudo apt-get -y install maven
+ Most package managers do not install required version of Maven i.e. 3.9.11 or later.
+ Following commands download and install Maven manually
+ $ curl -L https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.11/apache-maven-3.9.11-bin.tar.gz > apache-maven-3.9.11-bin.tar.gz
+ $ tar -zxvf apache-maven-3.9.11-bin.tar.gz -C /opt
Review Comment:
ok, if mvnw is listed as the install mechanism, it's a lot simpler to detail as it does the validation. Docs can just say "use an up to date version of maven; the mvnw command will download one and validate it before execution"
> Build Failing on Trunk
> ----------------------
>
> Key: HADOOP-19790
> URL: https://issues.apache.org/jira/browse/HADOOP-19790
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs
> Affects Versions: 3.5.0
> Reporter: Anuj Modi
> Assignee: Anuj Modi
> Priority: Blocker
> Labels: pull-request-available
>
> While trying to build at hadoop level, build is failing on trunk.
> Commit: [https://github.com/apache/hadoop/commit/b3ce394e5aba3cdaf326b87e7cfb6be898ddd48d]
> Error:
> [ERROR] Failed to execute goal io.github.ascopes:protobuf-maven-plugin:1.2.0:generate (default) on project hadoop-yarn-csi: Execution default of goal io.github.ascopes:protobuf-maven-plugin:1.2.0:generate failed: Unable to load the mojo 'generate' (or one of its required components) from the plugin 'io.github.ascopes:protobuf-maven-plugin:1.2.0': com.google.inject.ProvisionException: Unable to provision, see the following errors:
> [ERROR]
> [ERROR] 1) No implementation for io.github.ascopes.protobufmavenplugin.generate.SourceCodeGenerator was bound.
> [ERROR] while locating io.github.ascopes.protobufmavenplugin.MainGenerateMojo
> [ERROR] at ClassRealm[plugin>io.github.ascopes:protobuf-maven-plugin:1.2.0, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@30946e09] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
> [ERROR] while locating org.apache.maven.plugin.Mojo annotated with @com.google.inject.name.Named(value="io.github.ascopes:protobuf-maven-plugin:1.2.0:generate")
> [ERROR]
> [ERROR] 1 error
> [ERROR] role: org.apache.maven.plugin.Mojo
> [ERROR] roleHint: io.github.ascopes:protobuf-maven-plugin:1.2.0:generate
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org