Scripts setting up infrastructure for trainings
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
inventories
playbook
pyapi_scripts
roles
roles_external
terraform-clusters
workshop_data
.gitignore
README.md
ansible-env.sh
ansible.cfg
bootstrap.sh
example-hosts
get_aws_ips_from_terraform.py
one-command-cm-cluster.sh
one-command-cm-madrid.sh
one-command-step.sh
requirements.yml

README.md

Onboard training users and data on existing cluster

The playbook playbook/training-setup.yml is responsible for

  • creating user accounts
  • uploaded trainig datasets in HDFS and creating training Hive tables
  • install necessary client Linux libraries on the edge It runs all above activities on the edge node. It can also onboard HUE users (by executing the hue-users role) - make sure that hosts points to the node that has HUE installed (e.g. edge or master)
ansible-playbook playbook/training-setup.yml -i ${HOSTS_FILE} -u ${USERNAME} --private-key ${PRIVATE_KEY}

Build a training cluster

./one-command-cm-cluster.sh terraform-clusters/developer-cdh

Setup

pip install ansible
ansible-galaxy install -r requirements.yml