Skip to content

Commit

Permalink
[GLUTEN-7307][VL] Update openssl version in velox setup for centos9 (#…
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
pratham76 authored Oct 1, 2024
1 parent c2ce6ad commit cd71aa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ep/build-velox/src/get_velox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cd71aa7

Please sign in to comment.