basic statistic collection test on 16k flows
[releng/builder.git] / jenkins-scripts / controller.sh
index 12cb6e6977f0e4860860f7f5059a5ec64b8679a7..76b8dca9c4c4add60c14f668dfc55dcb4321be80 100755 (executable)
@@ -3,4 +3,20 @@
 # disable the firewall
 service iptables stop
 
+# install sshpass
+yum install -y sshpass
+
 # vim: sw=2 ts=2 sts=2 et :
+# Installation of Hbase
+mkdir /tmp/Hbase
+cd /tmp/Hbase
+
+wget --no-verbose https://archive.apache.org/dist/hbase/hbase-0.94.15/hbase-0.94.15.tar.gz
+
+echo "Installing the Hbase Server..."
+tar -xvf hbase*.tar.gz
+
+cat <<EOF >/etc/sudoers.d/89-jenkins-user-defaults
+Defaults:jenkins !requiretty
+jenkins     ALL = NOPASSWD: /sbin/iptables
+EOF