Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-9377

docker builds having problems with main/native/container-executor/test/

Add voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Minor
    • Resolution: Unresolved
    • 3.3.0
    • None
    • build, test
    • None
    • docker

    Description

      During build the source code , do the steps as below : 

       

      1, run docker daemon 

      2, ./start-build-env.sh

      3, sudo mvn clean install -DskipTests -Pnative 

      the response prompt that : 

      [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' did not return a version -> 

      [Help 1]

      However , when execute the command : whereis protoc 

      liu@a65d187055f9:~/hadoop$ whereis protoc
      protoc: /opt/protobuf/bin/protoc

       

      the PATH value : /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/cmake/bin:/opt/protobuf/bin

       

      liu@a65d187055f9:~/hadoop$ protoc --version
      libprotoc 2.5.0

       

       

      Attachments

        1. HADOOP-16123-001.patch
          1 kB
          lqjacklee
        2. HADOOP-16123-002.patch
          4 kB
          lqjacklee

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Jack-Lee lqjacklee
            Jack-Lee lqjacklee

            Dates

              Created:
              Updated:

              Slack

                Issue deployment