You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Gong Xiaofei (Jira)" <ji...@apache.org> on 2025/10/13 06:08:00 UTC
[jira] [Updated] (HBASE-29653) Build fails on riscv64 due to os-maven-plugin not recognizing RISC-V architecture
[ https://issues.apache.org/jira/browse/HBASE-29653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gong Xiaofei updated HBASE-29653:
---------------------------------
Description:
h2. Problem Description
The build process of HBase on the {{riscv64}} architecture fails because the {{os-maven-plugin}} does not recognize the RISC-V architecture. This results in the following error during the Maven build process:
{{[INFO] Detecting the operating system and CPU architecture
[INFO] ------------------------------------------------------------------------
[INFO] os.detected.name: linux
[INFO] os.detected.arch: unknown
[INFO] os.detected.version: 6.12
[INFO] os.detected.version.major: 6
[INFO] os.detected.version.minor: 12
[ERROR] unknown os.arch: riscv64 -> [Help 1]}}
h2. Root Cause Analysis
The {{os-maven-plugin}} is a Maven extension that detects the operating system and architecture for cross-platform builds. Older versions of this plugin lack support for the RISC-V architecture ({{{}riscv64{}}}), causing the build to fail when it cannot properly identify the CPU architecture.
h2. Impact Assessment
* {*}Build Failure{*}: HBase native components cannot be built on RISC-V systems
* {*}Platform Support Gap{*}: Limits HBase adoption on emerging RISC-V hardware platforms
* {*}Development Blockers{*}: RISC-V developers cannot contribute to or test HBase on their architecture
h2. Resolution
*Upgrade {{os-maven-plugin}} to version 1.7.1 or later* which includes native support for RISC-V architectures.
was:
h2. Problem Description
The build process of HBase's native code on the {{riscv64}} architecture fails because the {{os-maven-plugin}} does not recognize the RISC-V architecture. This results in the following error during the Maven build process:
{{[INFO] Detecting the operating system and CPU architecture
[INFO] ------------------------------------------------------------------------
[INFO] os.detected.name: linux
[INFO] os.detected.arch: unknown
[INFO] os.detected.version: 6.12
[INFO] os.detected.version.major: 6
[INFO] os.detected.version.minor: 12
[ERROR] unknown os.arch: riscv64 -> [Help 1]}}
h2. Root Cause Analysis
The {{os-maven-plugin}} is a Maven extension that detects the operating system and architecture for cross-platform builds. Older versions of this plugin lack support for the RISC-V architecture ({{{}riscv64{}}}), causing the build to fail when it cannot properly identify the CPU architecture.
h2. Impact Assessment
* {*}Build Failure{*}: HBase native components cannot be built on RISC-V systems
* {*}Platform Support Gap{*}: Limits HBase adoption on emerging RISC-V hardware platforms
* {*}Development Blockers{*}: RISC-V developers cannot contribute to or test HBase on their architecture
h2. Resolution
*Upgrade {{os-maven-plugin}} to version 1.7.1 or later* which includes native support for RISC-V architectures.
> Build fails on riscv64 due to os-maven-plugin not recognizing RISC-V architecture
> ---------------------------------------------------------------------------------
>
> Key: HBASE-29653
> URL: https://issues.apache.org/jira/browse/HBASE-29653
> Project: HBase
> Issue Type: Improvement
> Components: build
> Reporter: Gong Xiaofei
> Priority: Major
> Labels: pull-request-available
>
> h2. Problem Description
> The build process of HBase on the {{riscv64}} architecture fails because the {{os-maven-plugin}} does not recognize the RISC-V architecture. This results in the following error during the Maven build process:
> {{[INFO] Detecting the operating system and CPU architecture
> [INFO] ------------------------------------------------------------------------
> [INFO] os.detected.name: linux
> [INFO] os.detected.arch: unknown
> [INFO] os.detected.version: 6.12
> [INFO] os.detected.version.major: 6
> [INFO] os.detected.version.minor: 12
> [ERROR] unknown os.arch: riscv64 -> [Help 1]}}
> h2. Root Cause Analysis
> The {{os-maven-plugin}} is a Maven extension that detects the operating system and architecture for cross-platform builds. Older versions of this plugin lack support for the RISC-V architecture ({{{}riscv64{}}}), causing the build to fail when it cannot properly identify the CPU architecture.
> h2. Impact Assessment
> * {*}Build Failure{*}: HBase native components cannot be built on RISC-V systems
> * {*}Platform Support Gap{*}: Limits HBase adoption on emerging RISC-V hardware platforms
> * {*}Development Blockers{*}: RISC-V developers cannot contribute to or test HBase on their architecture
> h2. Resolution
> *Upgrade {{os-maven-plugin}} to version 1.7.1 or later* which includes native support for RISC-V architectures.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)