These Ansible scripts install Multi-Clustered Hadoop setups and Hibench.
Currently only Debian based systems are supported.
The software version matrix which will be installed is as follows:
Software | Version |
---|---|
Hadoop | 2.10.2 |
Java | 8 |
Hibench | @master |
- Edit the
hosts
file in the root directory:[group-name] => master or workers <public-ip-address> hostname=<arbitrary-hostname> internal_ip=<internal-ip> Example: [master] x.x.x.x hostname=node-master internal_ip=10.0.0.x [workers] x.x.x.x hostname=node1 internal_ip=10.0.0.x x.x.x.x hostname=node2 internal_ip=10.0.0.x
Make sure that you can SSH into these VMs as the root user
-
(Optional) You can add your SSH public key in
vars/var_basic.yml
underuser_ssh_key
. This key will be copied to user "hadoop"'s authorized keys on all nodes. -
Run the playbook
ansible-playbook main.yml
- These scripts will deploy Multi-Cluster Hadoop on VMs
- All the communication between the nodes in the cluster will happen via the internal network, using their internal_ip(s)
- The hostnames are arbitrary names which will be paired with the internal IP and appended to every node's
/etc/hosts
.
- In order to prevent leaking hosts, order git to consider it always updated:
git update-index --skip-worktree hosts