Skip to content

Propose to officially support ARM64 platform #6364

@liusheng

Description

@liusheng

Is your feature request related to a problem?

Yes, recently, I am working on promoting Hadoop building on ARM64 server, while an error occured due to missing the io.grpc:protoc-gen-grpc-java:exe:linux-aarch_64:1.15.1 artifact for aarch platform, see error messages:

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  03:13 min
[INFO] Finished at: 2019-05-17T09:28:55+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.xolstice.maven.plugins:protobuf-maven-plugin:0.5.1:compile-custom (default) on project hadoop-yarn-csi: Missing:
[ERROR] ----------
[ERROR] 1) io.grpc:protoc-gen-grpc-java:exe:linux-aarch_64:1.15.1
[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=io.grpc -DartifactId=protoc-gen-grpc-java -Dversion=1.15.1 -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=io.grpc -DartifactId=protoc-gen-grpc-java -Dversion=1.15.1 -Dclassifier=linux-aarch_64 -Dpackaging=exe -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR]
[ERROR]   Path to dependency:
[ERROR]         1) org.apache.hadoop:hadoop-yarn-csi:jar:3.3.0-SNAPSHOT
[ERROR]         2) io.grpc:protoc-gen-grpc-java:exe:linux-aarch_64:1.15.1
[ERROR]

In the Maven central repo, there are different version of protoc-gen-grpc-java artifacts for linux-x86, osx-x86, windows-x86, but no aarch64 specific package. see:
https://search.maven.org/search?q=g:io.grpc%20AND%20a:protoc-gen-grpc-java&core=gav

I have searched this problem in google, found that there are some similar issues brought up by others, such as #2202 and disscussion , there are also some posts share workarounds by compiling grpc-java manually with private patches. actually, I have also tried to build protoc-gen-grpc-java but it also easily fail for some reason.

Describe the solution you'd like

Hope we can officially support ARM64 platform and publish io.grpc:protoc-gen-grpc-java:exe:linux-aarch_64 artifact in Maven central repo.
I am not sure if I am missing someting, please pointing out if I am wrong.

Describe alternatives you've considered

NA

Additional context

NA

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions