hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yuqi Gu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-19146) Hbase3.0 protobuf-maven-plugin do not support Arm64(only for x86)
Date Wed, 01 Nov 2017 06:08:00 GMT
Yuqi Gu created HBASE-19146:

             Summary: Hbase3.0  protobuf-maven-plugin do not support Arm64(only for x86)
                 Key: HBASE-19146
                 URL: https://issues.apache.org/jira/browse/HBASE-19146
             Project: HBase
          Issue Type: Bug
          Components: pom
         Environment: OS:  Ubuntu 16.04.3 
OpenJDK Runtime Environment (build 1.8.0_131-8u131-b11-2ubuntu1.16.04.3-b11)
Hw platform:  AARCH64
            Reporter: Yuqi Gu
            Priority: Major

We are building the HBase 3.0.0-SNAPSHOT on AARCH64.
It is noted that 'protobuf-maven-plugin' only support x86 shown as follows:



So the build is failed.

[INFO] --- protobuf-maven-plugin:0.5.0:compile (compile-protoc) @ hbase-protocol-shaded ---
[INFO] Compiling 32 proto file(s) to /root/hbase/hbase-protocol-shaded/target/generated-sources/protobuf/java
Failed to execute goal org.xolstice.maven.plugins:protobuf-maven-plugin:0.5.0:compile (compile-protoc)
on project hbase-protocol-shaded: Missing:

Then I installed aarch64 protobuf 2.5.0 on the host and modify the pom:


 The build is also failed:

[INFO] Compiling 32 proto file(s) to /root/hbase/hbase-protocol-shaded/target/generated-sources/protobuf/java
[ERROR] PROTOC FAILED: google/protobuf/any.proto:31:10: Unrecognized syntax identifier "proto3".
 This parser only recognizes "proto2".


It seems that "internal.protobuf.version" in "hbase-protocol-shaded" is 3.3.0.

How to fix it? Thanks!


This message was sent by Atlassian JIRA

View raw message