Skip to content

[GLUTEN-12193] Support Rocky Linux and AlmaLinux 9 in Velox build setup(#12193)#12194

Open
senthh wants to merge 1 commit into
apache:mainfrom
senthh:rocky_os_support
Open

[GLUTEN-12193] Support Rocky Linux and AlmaLinux 9 in Velox build setup(#12193)#12194
senthh wants to merge 1 commit into
apache:mainfrom
senthh:rocky_os_support

Conversation

@senthh
Copy link
Copy Markdown

@senthh senthh commented May 30, 2026

What changes are proposed in this pull request?

Treat rocky and almalinux like RHEL 9.x and run setup-rhel.sh so builds no longer fail with "Unsupported linux distribution: rocky".

How was this patch tested?

Manual Build got Success with Rocky Linux

Build Output:

```
[INFO] Replacing original artifact with shaded artifact.
[INFO] Replacing original source artifact with shaded source artifact.
[INFO]
[INFO] --- exec:3.1.0:exec (copy-fat-jar) @ gluten-package ---
[INFO]
[INFO] --- jar:3.2.2:jar (default) @ gluten-package ---
[INFO] Building jar: /root/gluten/package/target/gluten-package-1.7.0-SNAPSHOT-4.1.jar
[INFO]
[INFO] --- source:3.2.1:jar-no-fork (attach-sources) @ gluten-package ---
[WARNING] artifact org.apache.gluten:gluten-package:java-source:sources:1.7.0-SNAPSHOT already attached, replace previous instance
[INFO]
[INFO] --- install:3.1.2:install (default-install) @ gluten-package ---
[INFO] Installing /root/gluten/package/pom.xml to /root/.m2/repository/org/apache/gluten/gluten-package/1.7.0-SNAPSHOT/gluten-package-1.7.0-SNAPSHOT.pom
[INFO] Installing /root/gluten/package/target/gluten-package-1.7.0-SNAPSHOT.jar to /root/.m2/repository/org/apache/gluten/gluten-package/1.7.0-SNAPSHOT/gluten-package-1.7.0-SNAPSHOT.jar
[INFO] Installing /root/gluten/package/target/gluten-package-1.7.0-SNAPSHOT-sources.jar to /root/.m2/repository/org/apache/gluten/gluten-package/1.7.0-SNAPSHOT/gluten-package-1.7.0-SNAPSHOT-sources.jar
[INFO] Installing /root/gluten/package/target/gluten-package-1.7.0-SNAPSHOT-4.1.jar to /root/.m2/repository/org/apache/gluten/gluten-package/1.7.0-SNAPSHOT/gluten-package-1.7.0-SNAPSHOT-4.1.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Gluten Parent Pom 1.7.0-SNAPSHOT:
[INFO]
[INFO] Gluten Parent Pom .................................. SUCCESS [ 1.224 s]
[INFO] Gluten Core ........................................ SUCCESS [ 21.128 s]
[INFO] Gluten Shims ....................................... SUCCESS [ 0.058 s]
[INFO] Gluten Shims Common ................................ SUCCESS [ 3.813 s]
[INFO] Gluten Shims for Spark 4.1 ......................... SUCCESS [ 5.753 s]
[INFO] Gluten UI .......................................... SUCCESS [ 3.189 s]
[INFO] Gluten Substrait ................................... SUCCESS [ 30.185 s]
[INFO] Gluten Arrow ....................................... SUCCESS [ 8.505 s]
[INFO] Gluten Celeborn .................................... SUCCESS [ 2.573 s]
[INFO] Gluten Uniffle ..................................... SUCCESS [ 0.119 s]
[INFO] Gluten Backends Velox .............................. SUCCESS [ 55.466 s]
[INFO] Gluten Package ..................................... SUCCESS [01:01 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:13 min
[INFO] Finished at: 2026-05-30T12:52:22+05:30
[INFO] ------------------------------------------------------------------------
[root@node82 gluten]# cat /etc/os-release
NAME="Rocky Linux"
VERSION="9.7 (Blue Onyx)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="9.7"
PLATFORM_ID="platform:el9"
PRETTY_NAME="Rocky Linux 9.7 (Blue Onyx)"
ANSI_COLOR="0;32"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:rocky:rocky:9::baseos"
HOME_URL="https://rockylinux.org/"
VENDOR_NAME="RESF"
VENDOR_URL="https://resf.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
SUPPORT_END="2032-05-31"
ROCKY_SUPPORT_PRODUCT="Rocky-Linux-9"
ROCKY_SUPPORT_PRODUCT_VERSION="9.7"
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="9.7"

## Was this patch authored or co-authored using generative AI tooling?

<!--
If generative AI tooling has been used in the process of authoring this patch, please include the
phrase: 'Generated-by: ' followed by the name of the tool and its version.
If no, write 'No'.
Please refer to the [ASF Generative Tooling Guidance](https://www.apache.org/legal/generative-tooling.html) for details.
-->

No


Related issue: #12193

Treat rocky and almalinux like RHEL 9.x and run setup-rhel.sh so builds no longer fail with "Unsupported linux distribution: rocky".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant