Skip to content

Instantly share code, notes, and snippets.

@dln
Last active August 29, 2015 14:16
Show Gist options
  • Select an option

  • Save dln/becaf3cff9e12ede9d24 to your computer and use it in GitHub Desktop.

Select an option

Save dln/becaf3cff9e12ede9d24 to your computer and use it in GitHub Desktop.
REPO=http://archive.cloudera.com/cdh5/ubuntu/trusty/amd64/cdh
# Add apt repo
wget $REPO/cloudera.list -O /etc/apt/sources.list.d/cloudera.list
wget -qO - $REPO/archive.key | sudo apt-key add -
# Prioritize cloudera repo
cat <<EOF > /etc/apt/preferences.d/cloudera.pref
Package: *
Pin: release o=Cloudera, l=Cloudera
Pin-Priority: 501
EOF
# Update
apt-get update
# Install
apt-get install -y sqoop spark
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment