Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-5536

Build failure on Linux ARM64 due to old Protobuf and Grpc

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.0
    • 0.11.0, 0.10.1
    • build
    • None

    Description

      Trying to build current master (0.11.0-SNAPSHOT) due to old version of Protobuf/Protoc that does not have a binary for linux-aarch64 architecture.

       

       [ERROR] Failed to execute goal org.xolstice.maven.plugins:protobuf-maven-plugin:0.5.0:compile (default) on project zeppelin-jupyter-interpreter: Missing:
      [ERROR] ----------
      [ERROR] 1) com.google.protobuf:protoc:exe:linux-aarch_64:3.3.0
      [ERROR] 
      [ERROR]   Try downloading the file manually from the project website.
      [ERROR] 
      [ERROR]   Then, install it using the command: 
      [ERROR]       mvn install:install-file -DgroupId=com.google.protobuf -DartifactId=protoc -Dversion=3.3.0 -Dclassifier=linux-aarch_64 -Dpackaging=exe -Dfile=/path/to/file
      [ERROR] 
      [ERROR]   Alternatively, if you host your own repository you can deploy the file there: 
      [ERROR]       mvn deploy:deploy-file -DgroupId=com.google.protobuf -DartifactId=protoc -Dversion=3.3.0 -Dclassifier=linux-aarch_64 -Dpackaging=exe -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
      [ERROR] 
      [ERROR]   Path to dependency: 
      [ERROR]   	1) org.apache.zeppelin:zeppelin-jupyter-interpreter:jar:0.11.0-SNAPSHOT
      [ERROR]   	2) com.google.protobuf:protoc:exe:linux-aarch_64:3.3.0
      [ERROR] 
      [ERROR] ----------
      [ERROR] 1 required artifact is missing.
      [ERROR] 
      [ERROR] for artifact: 
      [ERROR]   org.apache.zeppelin:zeppelin-jupyter-interpreter:jar:0.11.0-SNAPSHOT
      [ERROR] 
      [ERROR] from the specified remote repositories:
      [ERROR]   apache.snapshots (http://repository.apache.org/snapshots, releases=false, snapshots=true),
      [ERROR]   central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false)
      [ERROR] 
      [ERROR] -> [Help 1]
      

       

      https://repo1.maven.org/maven2/com/google/protobuf/protoc/3.3.0/ - have no linux_aarch64

      https://repo1.maven.org/maven2/com/google/protobuf/protoc/3.5.0/ - has it!

       

      Same for Grpc:

      https://repo1.maven.org/maven2/io/grpc/protoc-gen-grpc-java/1.25.0/ - no linux_aarch64

      https://repo1.maven.org/maven2/io/grpc/protoc-gen-grpc-java/1.26.0/ - does have it!

       

      There are newer versions of both protoc (3.18.0) and grpc (1.41.0) but I didn't wanted to jump so far. Please let me know if you want me to test with the latest versions and update the PR!

      Attachments

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            mgrigorov Martin Tzvetanov Grigorov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 3.5h
                3.5h