This is an automated email from the ASF dual-hosted git repository.
yuanzhou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-gluten.git
The following commit(s) were added to refs/heads/main by this push:
new cd71aa7060 [GLUTEN-7307][VL] Update openssl version in velox setup for
centos9 (#7308)
cd71aa7060 is described below
commit cd71aa706039b000f7f4d5202dde5eb54c83f420
Author: Pratham Manja <[email protected]>
AuthorDate: Tue Oct 1 05:31:57 2024 +0530
[GLUTEN-7307][VL] Update openssl version in velox setup for centos9 (#7308)
The current velox setup script for centOS9 brings opnssl-1.1.1s which seems
to be outdated all the current spark-3.x runtimes on centOS9 use openssl-3.x
versions which causes the spark applications to fail due to this version
mismatch.
To handle the above issue - upgraded the openssl version is the current
setup.
Fixes: #7307
---
ep/build-velox/src/get_velox.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ep/build-velox/src/get_velox.sh b/ep/build-velox/src/get_velox.sh
index 4b35120980..006dd921e4 100755
--- a/ep/build-velox/src/get_velox.sh
+++ b/ep/build-velox/src/get_velox.sh
@@ -107,7 +107,7 @@ function process_setup_centos9 {
sed -i '/^.*dnf_install autoconf/a\ dnf_install libxml2-devel
libgsasl-devel libuuid-devel' scripts/setup-centos9.sh
ensure_pattern_matched 'install_gflags' scripts/setup-centos9.sh
- sed -i '/^function install_gflags.*/i function install_openssl {\n
wget_and_untar
https://github.com/openssl/openssl/archive/refs/tags/OpenSSL_1_1_1s.tar.gz
openssl \n cd openssl \n ./config no-shared && make depend && make && sudo
make install \n cd ..\n}\n' scripts/setup-centos9.sh
+ sed -i '/^function install_gflags.*/i function install_openssl {\n
wget_and_untar
https://github.com/openssl/openssl/releases/download/openssl-3.2.2/openssl-3.2.2.tar.gz
openssl \n ( cd ${DEPENDENCY_DIR}/openssl \n ./config no-shared && make
depend && make && sudo make install ) \n}\n' scripts/setup-centos9.sh
ensure_pattern_matched 'install_fbthrift' scripts/setup-centos9.sh
sed -i '/^ run_and_time install_fbthrift/a \ run_and_time install_openssl'
scripts/setup-centos9.sh
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]