Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (21 sloc) 663 Bytes
set -ex
if [[ $# -ne 2 ]] ; then
echo 'Missing required arguments'
exit 1
GITHUB_ACCOUNT=$1 # i.e. garystafford
GITHUB_REPO=$2 # i.e. zeppelin-emr-demo
# install extra python packages
sudo python3 -m pip install psycopg2-binary boto3
# install extra linux packages
yes | sudo yum install git htop
# clone github repo
cd /tmp
git clone "${GITHUB_ACCOUNT}/${GITHUB_REPO}.git"
# install extra jars
wget -nv "${POSTGRES_JAR}"
sudo chown -R hadoop:hadoop ${POSTGRES_JAR}
mkdir -p /home/hadoop/extrajars/
cp ${POSTGRES_JAR} /home/hadoop/extrajars/
You can’t perform that action at this time.