Step 2: Move test folder to root
[integration/test.git] / csit / suites / tsdr / HBase / scripts / hbase-startup.sh
1 #!/bin/bash
2
3 # Installation of Hbase
4 cat > ${WORKSPACE}/hbasestartup.sh <<EOF
5 cd /tmp/Hbase
6 echo "Start the HBase Server"
7 export JAVA_HOME=/usr
8 /tmp/Hbase/hbase-0.94.15/bin/start-hbase.sh
9
10 EOF
11 echo "Copy the Hbase startup script to ${CONTROLLER0}"
12 scp ${WORKSPACE}/hbasestartup.sh ${CONTROLLER0}:/tmp
13 ssh ${CONTROLLER0} 'bash /tmp/hbasestartup.sh'
14 # vim: ts=4 sw=4 sts=4 et ft=sh :