Skip to content

Instantly share code, notes, and snippets.

View seanorama's full-sized avatar

Sean Roberts seanorama

  • Cloudera (formerly Hortonworks, Rackspace)
  • London, UK
  • X @seano
View GitHub Profile
#!/usr/bin/env bash
## See https://github.com/rackerlabs/recap for more detail
yum -y -q install git bc elinks net-tools sysstat iotop
git clone https://github.com/rackerlabs/recap.git
cd recap; make install; cd
opts="USESAR USESARR USESARQ USEPSTREE USENETSTATSUM USEDF USESLAB USEFDISK"
for opt in ${opts}
{
"Blueprints": {
"stack_name": "HDP",
"stack_version": "2.5"
},
"host_groups": [
{
"name": "host-group-1",
"components": [
{
#!/usr/bin/env bash
set -o xtrace
export HOME=${HOME:-/root}
export TERM=xterm
: ${install_ambari_server:=true}
: ${ambari_pass:="BadPass#1"}
: ${ambari_stack_version:=2.5}
ambari_password="${ambari_pass}"
#!/usr/bin/env bash
set -o xtrace
export HOME=${HOME:-/root}
export TERM=xterm
: ${install_ambari_server:=true}
: ${ambari_pass:="BadPass#1"}
: ${ambari_stack_version:=2.5}
ambari_password="${ambari_pass}"
#!/usr/bin/env bash
set -o xtrace
export HOME=${HOME:-/root}
export TERM=xterm
: ${install_ambari_server:=true}
: ${ambari_pass:="BadPass#1"}
: ${ambari_stack_version:=2.5}
ambari_password="${ambari_pass}"
#!/usr/bin/env bash
set -o xtrace
export HOME=${HOME:-/root}
export TERM=xterm
: ${install_ambari_server:=true}
: ${ambari_pass:="BadPass#1"}
ambari_password="${ambari_pass}"
: ${host_count:=skip}
#!/usr/bin/env bash
set -o xtrace
export HOME=${HOME:-/root}
export TERM=xterm
: ${install_ambari_server:=true}
: ${ambari_pass:="BadPass#1"}
ambari_password="${ambari_pass}"
: ${host_count:=skip}
#!/usr/bin/env bash
set -o xtrace
export HOME=${HOME:-/root}
export TERM=xterm
: ${install_ambari_server:=true}
: ${ambari_pass:="BadPass#1"}
ambari_password="${ambari_pass}"
: ${host_count:=skip}
#!/usr/bin/env bash
set -o xtrace
export HOME=${HOME:-/root}
export TERM=xterm
cd
export ambari_pass=${ambari_pass:-BadPass#1}
export ambari_repo=http://dev.hortonworks.com.s3.amazonaws.com/ambari/centos6/2.x/updates/2.4.0.0/ambariqe.repo
#!/usr/bin/env bash
set -o xtrace
export HOME=${HOME:-/root}
export TERM=xterm
cd
export ambari_pass=${ambari_pass:-BadPass#1}
export ambari_repo=http://dev.hortonworks.com.s3.amazonaws.com/ambari/centos6/2.x/updates/2.4.0.0/ambariqe.repo