Repository: bigtop
Updated Branches:
  refs/heads/master b163a794d -> 90b2df1ce


BIGTOP-1347. Support better entropy performance on vagrant VMs

Signed-off-by: Jay Vyas <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/90b2df1c
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/90b2df1c
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/90b2df1c

Branch: refs/heads/master
Commit: 90b2df1ce21faff7414ce3203340eb13498e2b5a
Parents: b163a79
Author: evans_ye <[email protected]>
Authored: Sun Jun 22 18:18:00 2014 +0800
Committer: Jay Vyas <[email protected]>
Committed: Mon Jun 23 09:07:59 2014 -0400

----------------------------------------------------------------------
 bigtop-deploy/vm/vagrant-puppet/provision.sh | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/90b2df1c/bigtop-deploy/vm/vagrant-puppet/provision.sh
----------------------------------------------------------------------
diff --git a/bigtop-deploy/vm/vagrant-puppet/provision.sh 
b/bigtop-deploy/vm/vagrant-puppet/provision.sh
index 92c58f3..0daccfa 100755
--- a/bigtop-deploy/vm/vagrant-puppet/provision.sh
+++ b/bigtop-deploy/vm/vagrant-puppet/provision.sh
@@ -33,3 +33,9 @@ components,hadoop,hbase
 EOF
 
 mkdir -p /data/{1,2}
+
+# Setup rng-tools to improve virtual machine entropy performance.
+# The poor entropy performance will cause kerberos provisioning failed.
+yum -y install rng-tools
+sed -i.bak 's/EXTRAOPTIONS=\"\"/EXTRAOPTIONS=\"-r \/dev\/urandom\"/' 
/etc/sysconfig/rngd
+service rngd start

Reply via email to