Or according to the BUILDING.txt in hadoop repo, protobuf-compiler is
installed and also according to
https://packages.ubuntu.com/search?keywords=protobuf-compiler&searchon=names
the
version is 3.0

On Thu, Aug 1, 2019 at 7:59 PM Szilard Nemeth <snem...@cloudera.com.invalid>
wrote:

> Hi,
>
> All hadoop-trunk builds are failing because of wrong version of protoc is
> being used.
> The version we are using is 3.0.0, however we should use 2.5.0 according to
> the build configuration.
> This makes hadoop-common fail to build.
>
> Here's a failed job as an example:
> https://builds.apache.org/job/Hadoop-trunk-Commit/17020/console
>
> , and this is the error message from Maven:
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time:  22.245 s (Wall Clock)
> [INFO] Finished at: 2019-08-01T11:12:41Z
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.hadoop:hadoop-maven-plugins:3.3.0-SNAPSHOT:protoc
> (compile-protoc) on project hadoop-common:
> org.apache.maven.plugin.MojoExecutionException: protoc version is
> 'libprotoc 3.0.0', expected version is '2.5.0' -> [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
>
>
> Could someone please help me to indentify what is exactly wrong and where
> should we fix this issue?
>
> Thanks a lot,
> Szilard
>

Reply via email to