finished the scripts of startCluster and stopCluster
git-svn-id: https://hyracks.googlecode.com/svn/branches/fullstack_genomix@2654 123451ca-8445-de46-9d55-352943316053
diff --git a/genomix/src/main/resources/scripts/stopcc.sh b/genomix/src/main/resources/scripts/stopcc.sh
new file mode 100644
index 0000000..c2f525a
--- /dev/null
+++ b/genomix/src/main/resources/scripts/stopcc.sh
@@ -0,0 +1,10 @@
+hostname
+. conf/cluster.properties
+
+#Kill process
+PID=`ps -ef|grep ${USER}|grep java|grep hyracks|awk '{print $2}'`
+echo $PID
+kill -9 $PID
+
+#Clean up CC temp dir
+rm -rf $CCTMP_DIR/*