diff --git a/scripts/ci/install_hadoop.sh b/scripts/ci/install_hadoop.sh index 25a748989..6088fcd14 100644 --- a/scripts/ci/install_hadoop.sh +++ b/scripts/ci/install_hadoop.sh @@ -5,18 +5,8 @@ set -x set -e -# This command is used to tell shell, turn installation mode to non interactive -# and set auto selection of agreement for Sun Java -export DEBIAN_FRONTEND=noninteractive -echo debconf shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections -echo debconf shared/accepted-oracle-license-v1-1 seen true | sudo debconf-set-selections - sudo apt-get update -y -sudo apt-get install python-software-properties -y -sudo add-apt-repository ppa:webupd8team/java -y -sudo apt-get update -y -sudo -E apt-get install oracle-java8-installer -y - +sudo apt-get install default-jdk java -version pushd /usr/local