org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.hadoop:hadoop-maven-plugins:2.6.0:protoc (compile-protoc) on project tez-api: org.apache.maven.plugin.MojoExecutionException: protoc failure

tez-user | Hitesh Shah | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Re: building Tez master branch fail

    tez-user | 2 years ago | Hitesh Shah
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.hadoop:hadoop-maven-plugins:2.6.0:protoc (compile-protoc) on project tez-api: org.apache.maven.plugin.MojoExecutionException: protoc failure
  2. 0

    MojoExecutionException: Hadoop installation on windows 10, maven, 64 bit

    Stack Overflow | 7 months ago | user3698581
    org.apache.maven.plugin.MojoExecutionException: 'protoc --version' did not return a version -> [Help 1] But on checking protocol buffer version : C:\WINDOWS\system32>protoc --version libprotoc 3.1.0 And the detailed error message is below : [ERROR] Failed to execute goal org.apache.hadoop:hadoop-maven-plugins:2.7.3:protoc (compile-protoc) on project hadoop-common: org.apache.maven.plugin.MojoExecutionException: 'protoc --version' did not return a version -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.hadoop:hadoop-maven-plugins:2.7.3:protoc (compile-protoc) on project hadoop-common: org.apache.maven.plugin.MojoExecutionException: 'protoc --version' did not return a version
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Building hadoop keeps failing, even though protoc 2.5.0 is set on my system

    Stack Overflow | 1 year ago | TaeJun Lee
    org.apache.maven.plugin.MojoExecutionException: protoc failure -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :hadoop-common TJ@DESKTOP-6940Q5M /cygdrive/e/hdc $ protoc --version libprotoc 2.5.0 Thanks for the advice that I missed to upload the display on the re-run with -e switch. Here it is. Failed to execute goal org.apache.hadoop:hadoop-maven-plugins:3.0.0-SNAPSHOT:protoc (compile-protoc) on project hadoop-common: org.apache.maven.plugin.MojoExecutionException: protoc failure -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.hadoop:hadoop-maven-plugins:3.0.0-SNAPSHOT:protoc (compile-protoc) on project hadoop-common: org.apache.maven.plugin.MojoExecutionException: protoc failure
  5. 0

    JDK 1.7 mandatory for latest source code?

    manning.com | 1 year ago
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.1.1:java (default-cli) on project chapter1-file-copy: An exception occured while executing the Java class. org/apache/camel/RoutesBuilder : Unsupported major.minor version 51.0

    1 unregistered visitors

    Root Cause Analysis

    1. org.apache.maven.plugin.MojoExecutionException

      org.apache.maven.plugin.MojoExecutionException: protoc failure

      at org.apache.hadoop.maven.plugin.protoc.ProtocMojo.execute()
    2. Apache Hadoop Maven Plugins
      ProtocMojo.execute
      1. org.apache.hadoop.maven.plugin.protoc.ProtocMojo.execute(ProtocMojo.java:105)
      1 frame
    3. Maven Plugin
      DefaultBuildPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
      1 frame