diff --git a/hadoop-ozone/dist/pom.xml b/hadoop-ozone/dist/pom.xml index 72ce7b77d6c5..8a098c7c27b0 100644 --- a/hadoop-ozone/dist/pom.xml +++ b/hadoop-ozone/dist/pom.xml @@ -28,7 +28,7 @@ UTF-8 true - 20210329-1 + 20211202-1 apache/ozone-testkrb5:20210419-1 diff --git a/hadoop-ozone/dist/src/main/dockerlibexec/entrypoint.sh b/hadoop-ozone/dist/src/main/dockerlibexec/entrypoint.sh index 7c0732efc6f5..65e709da29ed 100755 --- a/hadoop-ozone/dist/src/main/dockerlibexec/entrypoint.sh +++ b/hadoop-ozone/dist/src/main/dockerlibexec/entrypoint.sh @@ -97,7 +97,7 @@ if [ -n "$KERBEROS_ENABLED" ]; then sudo sed -i "s/krb5/$KERBEROS_SERVER/g" "/etc/krb5.conf" || true fi -CONF_DESTINATION_DIR="${HADOOP_CONF_DIR:-/opt/hadoop/etc/hadoop}" +CONF_DESTINATION_DIR="${OZONE_CONF_DIR:-/opt/hadoop/etc/hadoop}" #Try to copy the defaults set +e diff --git a/hadoop-ozone/dist/src/main/k8s/examples/testlib.sh b/hadoop-ozone/dist/src/main/k8s/examples/testlib.sh index 56eedd95b8a2..0ae44e415151 100644 --- a/hadoop-ozone/dist/src/main/k8s/examples/testlib.sh +++ b/hadoop-ozone/dist/src/main/k8s/examples/testlib.sh @@ -116,7 +116,10 @@ regenerate_resources() { OZONE_ROOT=$(realpath ../../..) fi - flekszible generate -t mount:hostPath="$OZONE_ROOT",path=/opt/hadoop -t image:image=apache/ozone-runner:20200420-1 -t ozone/onenode + local default_version=${docker.ozone-runner.version} # set at build-time from Maven property + local runner_version=${OZONE_RUNNER_VERSION:-${default_version}} # may be specified by user running the test + + flekszible generate -t mount:hostPath="$OZONE_ROOT",path=/opt/hadoop -t image:image=apache/ozone-runner:${runner_version} -t ozone/onenode } revert_resources() {