Skip to content

Commit

Permalink
Resolving repo issue
Browse files Browse the repository at this point in the history
  • Loading branch information
wjsi committed Dec 13, 2019
1 parent aaa7fa3 commit e287444
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/install-hdfs.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
#!/bin/bash
set -e

sudo apt-get remove -y yarn || true
sudo apt-get update
sudo apt-get remove -yq yarn || true

# Installing CDH 5 with YARN on a Single Linux Node in Pseudo-distributed mode.
curl -fsSL https://archive.cloudera.com/cdh5/ubuntu/xenial/amd64/cdh/archive.key | sudo apt-key add -
echo 'deb [arch=amd64] http://archive.cloudera.com/cdh5/ubuntu/xenial/amd64/cdh xenial-cdh5 contrib' | sudo tee /etc/apt/sources.list.d/cloudera.list
echo 'deb-src http://archive.cloudera.com/cdh5/ubuntu/xenial/amd64/cdh xenial-cdh5 contrib' | sudo tee -a /etc/apt/sources.list.d/cloudera.list
sudo apt-get update
sudo apt-get -y install hadoop-conf-pseudo libhdfs0
sudo apt-get -q update || true
sudo apt-get -yq install hadoop-conf-pseudo libhdfs0

# start a pseudo-distributed Hadoop.
sudo -u hdfs hdfs namenode -format
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/install-minikube.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ export CHANGE_MINIKUBE_NONE_USER=true
sudo apt-get remove -y docker.io || true
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
sudo apt-get install -y docker-ce
sudo apt-get -q update || true
sudo apt-get install -yq docker-ce

K8S_VERSION=$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)

Expand Down

0 comments on commit e287444

Please sign in to comment.