Repository: bigtop Updated Branches: refs/heads/master 84c46ca83 -> 41536b9be
BIGTOP-2529. Vagrant Provisioner failed to start up daemons Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/41536b9b Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/41536b9b Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/41536b9b Branch: refs/heads/master Commit: 41536b9beaf1f0a9b01e2fdab2d7746838238d8c Parents: 84c46ca Author: Evans Ye <[email protected]> Authored: Tue Sep 6 02:05:26 2016 +0800 Committer: Evans Ye <[email protected]> Committed: Sun Oct 16 02:09:35 2016 +0800 ---------------------------------------------------------------------- bigtop-deploy/vm/vagrant-puppet-vm/README.md | 20 +++++++++++--------- .../vm/vagrant-puppet-vm/vagrantconfig.yaml | 2 +- 2 files changed, 12 insertions(+), 10 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bigtop/blob/41536b9b/bigtop-deploy/vm/vagrant-puppet-vm/README.md ---------------------------------------------------------------------- diff --git a/bigtop-deploy/vm/vagrant-puppet-vm/README.md b/bigtop-deploy/vm/vagrant-puppet-vm/README.md index ed06eca..ad84ff8 100644 --- a/bigtop-deploy/vm/vagrant-puppet-vm/README.md +++ b/bigtop-deploy/vm/vagrant-puppet-vm/README.md @@ -30,31 +30,33 @@ give full validation of the BigTop stack. ## USAGE -1) Install [vagrant-hostmanager plugin](https://github.com/smdahlen/vagrant-hostmanager) to better manage `/etc/hosts` +1) Install [Vagrant](https://www.vagrantup.com/downloads.html)(DO NOT install 1.8.5 because of a critical [bug](https://github.com/mitchellh/vagrant/issues/7631)) + +2) Install [vagrant-hostmanager plugin](https://github.com/smdahlen/vagrant-hostmanager) to manage `/etc/hosts` ``` vagrant plugin install vagrant-hostmanager ``` -2) Install [vagrant-cachier plugin](https://github.com/fgrehm/vagrant-cachier) to cache packages at local +3) (Optional) Install [vagrant-cachier plugin](https://github.com/fgrehm/vagrant-cachier) to cache packages at local ``` vagrant plugin install vagrant-cachier ``` -3) To provision a 3 node Apache Hadoop cluster on top of vagrant boxes +4) To provision a one node Apache Hadoop cluster on top of vagrant boxes ``` vagrant up ``` -4) You can specify number of nodes you'd like to provision by modifying `num_instances` in vagrantconfig.yaml +5) You can specify number of nodes you'd like to provision by modifying `num_instances` in vagrantconfig.yaml ``` num_instances: 5 ``` -5) Test on local built packages is available by: +6) Test on local built packages is available by: first, build up local yum repo @@ -90,15 +92,15 @@ $ MEMORY_SIZE=8000 vagrant up * Choose the ecosystem you want to be deployed by modifying components in vagrantconfig.yaml ``` -components: "hadoop,hbase,yarn,..." +components: "hadoop, hbase, yarn,..." ``` -By default, Apache Hadoop, YARN, and Apache HBase will be installed. -See `bigtop-deploy/puppet/config/site.csv.example` for more details. +By default, Apache Hadoop and YARN will be installed. +See `bigtop-deploy/puppet/hieradata/site.yaml` for more details. ##Example: -5) Run hbase-test.sh to evaluate the deployment. +Run hbase-test.sh to evaluate the deployment. ``` ../utils/hbase-test.sh http://git-wip-us.apache.org/repos/asf/bigtop/blob/41536b9b/bigtop-deploy/vm/vagrant-puppet-vm/vagrantconfig.yaml ---------------------------------------------------------------------- diff --git a/bigtop-deploy/vm/vagrant-puppet-vm/vagrantconfig.yaml b/bigtop-deploy/vm/vagrant-puppet-vm/vagrantconfig.yaml index b0f8dda..803e4d3 100644 --- a/bigtop-deploy/vm/vagrant-puppet-vm/vagrantconfig.yaml +++ b/bigtop-deploy/vm/vagrant-puppet-vm/vagrantconfig.yaml @@ -15,7 +15,7 @@ memory_size: 4096 number_cpus: 1 -box: "puppetlabs/centos-7.0-64-nocm" +box: "puppetlabs/centos-7.2-64-nocm" repo: "http://bigtop-repos.s3.amazonaws.com/releases/1.1.0/centos/7/x86_64" num_instances: 1 distro: centos
