All Downloads are FREE. Search and download functionalities are using the official Maven repository.

docker.presto-product-tests.common.hadoop.hadoop-run.sh Maven / Gradle / Ivy

There is a newer version: 458
Show newest version
#!/usr/bin/env bash
set -euo pipefail

if test $# -gt 0; then
    echo "$0 does not accept arguments" >&2
    exit 32
fi

set -x

HADOOP_INIT_D=${HADOOP_INIT_D:-/etc/hadoop-init.d/}

echo "Applying hadoop init.d scripts from ${HADOOP_INIT_D}"
if test -d "${HADOOP_INIT_D}"; then
    for init_script in "${HADOOP_INIT_D}"*; do
        "${init_script}"
    done
fi

trap exit INT

echo "Running services with supervisord"

supervisord -c /etc/supervisord.conf




© 2015 - 2024 Weber Informatics LLC | Privacy Policy