docker.presto-product-tests.conf.environment.multinode-azure.update-location.sh Maven / Gradle / Ivy
#!/usr/bin/env bash
set -euxo pipefail
/usr/bin/mysqld_safe &
while ! mysqladmin ping -proot --silent; do sleep 1; done
hive --service metatool -updateLocation "abfs://${ABFS_CONTAINER}@${ABFS_ACCOUNT}.dfs.core.windows.net/${ABFS_SCHEMA}" hdfs://hadoop-master:9000/user/hive/warehouse
killall mysqld
while pgrep mysqld; do sleep 1; done