You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by ja...@apache.org on 2014/06/23 15:18:23 UTC
git commit: BIGTOP-1348. vagrant-puppet provisioning is too slow on
installing packages
Repository: bigtop
Updated Branches:
refs/heads/master 90b2df1ce -> 5a0530d53
BIGTOP-1348. vagrant-puppet provisioning is too slow on installing packages
Signed-off-by: Jay Vyas <ja...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/5a0530d5
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/5a0530d5
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/5a0530d5
Branch: refs/heads/master
Commit: 5a0530d53536e25128f29de9e0f2ac0166da5fc0
Parents: 90b2df1
Author: evans_ye <in...@gmail.com>
Authored: Sun Jun 22 16:38:35 2014 +0800
Committer: Jay Vyas <ja...@apache.org>
Committed: Mon Jun 23 09:16:11 2014 -0400
----------------------------------------------------------------------
bigtop-deploy/vm/vagrant-puppet/README.md | 12 +++++++++---
bigtop-deploy/vm/vagrant-puppet/Vagrantfile | 4 ++++
2 files changed, 13 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/bigtop/blob/5a0530d5/bigtop-deploy/vm/vagrant-puppet/README.md
----------------------------------------------------------------------
diff --git a/bigtop-deploy/vm/vagrant-puppet/README.md b/bigtop-deploy/vm/vagrant-puppet/README.md
index bebf7ed..70afb36 100644
--- a/bigtop-deploy/vm/vagrant-puppet/README.md
+++ b/bigtop-deploy/vm/vagrant-puppet/README.md
@@ -36,13 +36,19 @@ give full validation of the BigTop stack.
vagrant plugin install vagrant-hostmanager
```
-2) To provision a 3 node Apache Hadoop cluster on top of vagrant boxes
+2) 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
```
./startup.sh --cluster
```
-3) See options with -h specified
+4) See options with -h specified
```
$ ./startup.sh -h
@@ -58,7 +64,7 @@ $ ./startup.sh -h
##Example:
-4) Run hbase-test.sh to evaluate the deployment.
+5) Run hbase-test.sh to evaluate the deployment.
##Configure Apache Hadoop ecosystem components
* Choose the ecosystem you want to be deployed by modify components in provision.sh.
http://git-wip-us.apache.org/repos/asf/bigtop/blob/5a0530d5/bigtop-deploy/vm/vagrant-puppet/Vagrantfile
----------------------------------------------------------------------
diff --git a/bigtop-deploy/vm/vagrant-puppet/Vagrantfile b/bigtop-deploy/vm/vagrant-puppet/Vagrantfile
index b19c2fa..15a3dec 100755
--- a/bigtop-deploy/vm/vagrant-puppet/Vagrantfile
+++ b/bigtop-deploy/vm/vagrant-puppet/Vagrantfile
@@ -37,6 +37,10 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# manage /etc/hosts by hostmanager plugin(https://github.com/smdahlen/vagrant-hostmanager)
config.hostmanager.enabled = true
+ # use vagrant-cachier to cache packages at local(https://github.com/fgrehm/vagrant-cachier)
+ if Vagrant.has_plugin?("vagrant-cachier")
+ config.cache.scope = :box
+ end
# First node in the cluster
config.vm.define :bigtop1 do |bigtop1|