diff --git a/scripts/ci/install_hadoop.sh b/scripts/ci/install_hadoop.sh index 4ef1f2ee4..7306c4a9e 100755 --- a/scripts/ci/install_hadoop.sh +++ b/scripts/ci/install_hadoop.sh @@ -5,6 +5,11 @@ set -x set -e +if [[ -z "$TRAVIS_TAG" && "$TRAVIS_EVENT_TYPE" != "cron" ]]; then + echo "Skipping installing hadoop." + exit 0 +fi + sudo apt-get update -y sudo apt-get install openjdk-8-jdk java -version