Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-3554

Phoenix build failure caused by protoc-2.5.0

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0
    • Component/s: build
    • Labels:
      None

      Description

      Similar to Hbase/hive, com.google.protobuf:protoc:exe:2.5.0 doesn't provide non-x86 binary

      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time:  01:03 min
      [INFO] Finished at: 2021-06-09T09:04:44Z
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.xolstice.maven.plugins:protobuf-maven-plugin:0.6.1:compile (compile-protoc) on project phoenix-core: Unable to resolve artifact: Missing:
      [ERROR] ----------
      [ERROR] 1) com.google.protobuf:protoc:exe:linux-aarch_64:2.5.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=2.5.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=2.5.0 -Dclassifier=linux-aarch_64 -Dpackaging=exe -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
      [ERROR]
      [ERROR]   Path to dependency:
      [ERROR]         1) org.apache.phoenix:phoenix-core:jar:5.1.0
      [ERROR]         2) com.google.protobuf:protoc:exe:linux-aarch_64:2.5.0
      [ERROR]
      [ERROR] ----------
      [ERROR] 1 required artifact is missing.
      [ERROR]
      [ERROR] for artifact:
      [ERROR]   org.apache.phoenix:phoenix-core:jar:5.1.0
      [ERROR]
      [ERROR] from the specified remote repositories:
      [ERROR]   apache release (https://repository.apache.org/content/repositories/releases/, releases=true, snapshots=true),
      [ERROR]   apache.snapshots (https://repository.apache.org/snapshots, releases=false, snapshots=true),
      [ERROR]   central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false) 

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jun.he Jun He
                Reporter:
                jun.he Jun He
              • Votes:
                0 Vote for this issue
                Watchers:
                1 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 - 20m
                  20m