Skip to content

Commit eb8eda7

Browse files
gaborgsomogyidongjoon-hyun
authored andcommitted
[SPARK-32211][SQL] Pin mariadb-plugin-gssapi-server version to fix MariaDBKrbIntegrationSuite
### What changes were proposed in this pull request? `MariaDBKrbIntegrationSuite` fails because the docker image contains MariaDB version `1:10.4.12+maria~bionic` but `1:10.4.13+maria~bionic` came out and `mariadb-plugin-gssapi-server` installation triggered unwanted database upgrade inside the docker image. The main problem is that the docker image scripts are prepared to handle `1:10.4.12+maria~bionic` version and not any future development. ### Why are the changes needed? Failing test. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Executed `MariaDBKrbIntegrationSuite` manually. Closes #29025 from gaborgsomogyi/SPARK-32211. Authored-by: Gabor Somogyi <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
1 parent 4bbc343 commit eb8eda7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

external/docker-integration-tests/src/test/resources/mariadb_docker_entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
dpkg-divert --add /bin/systemctl && ln -sT /bin/true /bin/systemctl
2020
apt update
21-
apt install -y mariadb-plugin-gssapi-server
21+
apt install -y mariadb-plugin-gssapi-server=1:10.4.12+maria~bionic
2222
echo "gssapi_keytab_path=/docker-entrypoint-initdb.d/mariadb.keytab" >> /etc/mysql/mariadb.conf.d/auth_gssapi.cnf
2323
echo "gssapi_principal_name=mariadb/[email protected]" >> /etc/mysql/mariadb.conf.d/auth_gssapi.cnf
2424
docker-entrypoint.sh mysqld

0 commit comments

Comments
 (0)