[
https://issues.apache.org/jira/browse/HBASE-29653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Istvan Toth resolved HBASE-29653.
---------------------------------
Fix Version/s: 2.7.0
3.0.0-beta-2
2.6.4
2.5.13
Resolution: Fixed
> 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
> Fix For: 2.7.0, 3.0.0-beta-2, 2.6.4, 2.5.13
>
>
> 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)