Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I install Gluten in AWS EMR? Unsupport linux distribution: amzn #5689

Closed
astarrr opened this issue May 10, 2024 · 1 comment
Closed

Can I install Gluten in AWS EMR? Unsupport linux distribution: amzn #5689

astarrr opened this issue May 10, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@astarrr
Copy link

astarrr commented May 10, 2024

Description

Hello,
I am trying to install Gluten on EMR but I got this error

+++ SUPPORT_END=2025-06-30
++ echo 2
+ local LINUX_VERSION_ID=2
+ sed -i 's/^  ninja -C "${BINARY_DIR}" install/  sudo ninja -C "${BINARY_DIR}" install/g' scripts/setup-helper-functions.sh
+ sed -i 's/-mavx2 -mfma -mavx -mf16c -mlzcnt -std=c++17/-march=native -std=c++17 -mno-avx512f/g' scripts/setup-helper-functions.sh
+ [[ amzn == \u\b\u\n\t\u ]]
+ [[ amzn == \d\e\b\i\a\n ]]
+ [[ amzn == \p\o\p ]]
+ [[ amzn == \c\e\n\t\o\s ]]
+ [[ amzn == \a\l\i\n\u\x ]]
+ [[ amzn == \t\e\n\c\e\n\t\o\s ]]
+ echo 'Unsupport linux distribution: amzn'
Unsupport linux distribution: amzn
+ exit 1

As far as I understand, Gluten is supported only on CentOS and Ubuntu. Is there any AMI (Amazon Machine Image) based on CentOS or Ubuntu that I can spin-up in my cluster?

Thanks,

@astarrr astarrr added the enhancement New feature or request label May 10, 2024
@astarrr astarrr changed the title Can I install Gluten in AWS EMR? Can I install Gluten in AWS EMR? Unsupport linux distribution: amzn May 10, 2024
@PHILO-HE
Copy link
Contributor

@astarrr, I guess it can work on your centos-like or ubuntu-like OS after a few code changes are made. Currently, we hard-coded the supported OS. To let the script for centos or ubuntu be called for your OS, you can add some code here: https://github.com/apache/incubator-gluten/blob/main/ep/build-velox/src/build_velox.sh#L274.

@astarrr astarrr closed this as completed May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants