You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by Szilard Nemeth <sn...@cloudera.com.INVALID> on 2019/08/01 11:59:18 UTC

Hadoop-trunk commit jenkins job fails due to wrong version of protoc

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

Re: Hadoop-trunk commit jenkins job fails due to wrong version of protoc

Posted by Zhenyu Zheng <zh...@gmail.com>.
Hi,

I'm quite new to hadoop and not very sure whether it is correct or not. By
checking the latest successful build log:
https://builds.apache.org/job/Hadoop-trunk-Commit/lastSuccessfulBuild/consoleFull

it seems the os version is ubuntu 14.04 and in the later failling jobs, the
os version is 18.04:
https://builds.apache.org/job/Hadoop-trunk-Commit/17020/console
and according to
https://packages.ubuntu.com/search?keywords=libprotoc-dev 18.04
only provides  libprotoc 3.0,
could this be a protential problem?

BR,

Kevin

On Thu, Aug 1, 2019 at 7:59 PM Szilard Nemeth <sn...@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
>

Re: Hadoop-trunk commit jenkins job fails due to wrong version of protoc

Posted by Zhenyu Zheng <zh...@gmail.com>.
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 <sn...@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
>

Re: Hadoop-trunk commit jenkins job fails due to wrong version of protoc

Posted by Billie Rinaldi <bi...@gmail.com>.
I reopened INFRA-18244 to find out if there are any ubuntu 14.04 nodes left.

Billie

On Thu, Aug 1, 2019 at 6:30 PM Zhenyu Zheng <zh...@gmail.com>
wrote:

> Hi,
>
> I'm quite new to hadoop and not very sure whether it is correct or not. By
> checking the latest successful build log:
>
> https://builds.apache.org/job/Hadoop-trunk-Commit/lastSuccessfulBuild/consoleFull
>
> it seems the os version is ubuntu 14.04 and in the later failling jobs, the
> os version is 18.04:
> https://builds.apache.org/job/Hadoop-trunk-Commit/17020/console
> and according to
> https://packages.ubuntu.com/search?keywords=libprotoc-dev 18.04
> only provides  libprotoc 3.0,
> could this be a protential problem?
>
> BR,
>
> Kevin
>
>
> On Thu, Aug 1, 2019 at 7:59 PM Szilard Nemeth <snemeth@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
> >
>

Re: Hadoop-trunk commit jenkins job fails due to wrong version of protoc

Posted by Zhenyu Zheng <zh...@gmail.com>.
Hi,

I'm quite new to hadoop and not very sure whether it is correct or not. By
checking the latest successful build log:
https://builds.apache.org/job/Hadoop-trunk-Commit/lastSuccessfulBuild/consoleFull

it seems the os version is ubuntu 14.04 and in the later failling jobs, the
os version is 18.04:
https://builds.apache.org/job/Hadoop-trunk-Commit/17020/console
and according to
https://packages.ubuntu.com/search?keywords=libprotoc-dev 18.04
only provides  libprotoc 3.0,
could this be a protential problem?

BR,

Kevin


On Thu, Aug 1, 2019 at 7:59 PM Szilard Nemeth <sn...@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
>