Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Getting Started

Clone the BigTop source code

$ git clone https://github.com/apache/bigtop.git

To deploy a cluster with the latest Bigtop 1.2.0 (docker based):

  • git checkout origin/branch-1.2
  • ./gradlew -Pconfig=config_ubuntu_xenial.yaml -Pnum_instances=1 docker-provisioner (to deploy to Ubuntu 16.04)
  • ./gradlew -Pconfig=config_debian8.yaml -Pnum_instances=1 docker-provisioner (to deploy to Debian 8)
  • ./gradlew -Pconfig=config_centos6.yaml -Pnum_instances=1 docker-provisioner (to deploy to CentOS 6)
  • ./gradlew -Pconfig=config_centos7.yaml -Pnum_instances=1 docker-provisioner (to deploy to CentOS 7)
  • ./gradlew docker-provisioner-destroy (to remove the containers)

To deploy a cluster with the latest Bigtop 1.1.0 (docker based):

  • git checkout origin/branch-1.1
  • ./gradlew -Pconfig=vagrantconfig_ubuntu.yaml -Pnum_instances=1 docker-provisioner (to deploy to Ubuntu 14.04)
  • ./gradlew -Pconfig=vagrantconfig_debian.yaml -Pnum_instances=1 docker-provisioner (to deploy to Debian 8)
  • ./gradlew -Pconfig=vagrantconfig.yaml -Pnum_instances=1 docker-provisioner (to deploy to CentOS 6)
  • ./gradlew docker-provisioner-destroy (to remove the containers)

For Bigtop 1.0.0:

Quick Intro slide

Here's a slide to quickly go through the idea of the BigTop VM and Docker provisioner.

Demo video

Widget Connector
width1080
urlhttps://www.youtube.com/watch?v=c23hBT7rxQI
height720

Getting Started

Clone the BigTop source code

...

To create a VM based BigTop Hadoop cluster:

$ cd bigtop/bigtop-deploy/vm/vagrant-puppet-vm

$ vim vagrantconfig.yaml  

# Update the repo to be:

Note: Bigtop S3 repos is currently out of available, we're working on the fix. Please use the packages on our CI server instead.

CentOS 6: " http://cibigtop-repos.bigtops3.apacheamazonaws.org:8080/view/Releases/job/Bigtop-com/releases/1.0.0-rpm/BUILD_ENVIRONMENTS=centos-6%2clabel=docker-slave-06/lastSuccessfulBuild/artifact/output/"/6/x86_64

Debian 8: " http://cibigtop-repos.bigtops3.apacheamazonaws.org:8080/view/Releases/job/Bigtop-com/releases/1.0.0-deb/BUILD_ENVIRONMENTS=debian-8%2clabel=docker-slave-07/lastSuccessfulBuild/artifact/output/apt/"/8/x86_64

And update the component you'd like to deploy, for example: 

components: [hadoop, yarn, ignite-hadoop] (effective values)

$ vagrant up

# If using CentOS 7, you might need to disable firewall on each of the machines

$ vagrant ssh <machine_name, e.g. bigtop1>

$ sudo systemctl disable firewalld

$ sudo systemctl stop firewalld

DONE!

To create a Docker based  BigTop Hadoop cluster:

...

$ vim vagrantconfig.yaml  

# Update docker image file to point to one of:

bigtop/deploy:centos-6

bigtop/deploy:debian-8

# Update the repo to be:

Note: Bigtop S3 repos is currently out of available, we're working on the fix. Please use the packages on our CI server instead.

CentOS 6: " http://cibigtop-repos.bigtops3.apacheamazonaws.org:8080/view/Releases/job/Bigtop-com/releases/1.0.0-rpm/BUILD_ENVIRONMENTS=centos-6%2clabel=docker-slave-06/lastSuccessfulBuild/artifact/output/"/6/x86_64

Debian 8: " http://cibigtop-repos.bigtops3.apacheamazonaws.org:8080/view/Releases/job/Bigtop-com/releases/1.0.0-deb/BUILD_ENVIRONMENTS=debian-8%2clabel=docker-slave-07/lastSuccessfulBuild/artifact/output/apt/"/8/x86_64

And update the component you'd like to deploy, for example: 

components: [hadoop, yarn, ignite-hadoop] (effective values)

./docker-hadoop.sh --build-image --create 3

DONE!

Destroy clusters:

...

$ ./docker-hadoop.sh --destroy 

Demo video

Widget Connector
width1080
urlhttps://www.youtube.com/watch?v=c23hBT7rxQI
height720

Enable Port Forwarding

Widget Connector
width1080
urlhttps://www.youtube.com/watch?v=jajcANa5LL4
height720