Index: hadoop4win-setup/my_packages/hbase/bin/hbase-init
===================================================================
--- hadoop4win-setup/my_packages/hbase/bin/hbase-init	(revision 142)
+++ hadoop4win-setup/my_packages/hbase/bin/hbase-init	(revision 143)
@@ -4,10 +4,11 @@
 fi
 
-tar zxvf /usr/src/hbase-0.20.3.tar.gz -C /opt
-ln -s /opt/hbase-* /opt/hbase
+if [ ! -f /opt/hase* ]; then
+  tar zxvf /usr/src/hbase-0.20.3.tar.gz -C /opt
+  ln -s /opt/hbase-* /opt/hbase
 
-cp /opt/hadoop/conf/core-site.xml /opt/hbase/conf
-cp /opt/hadoop/conf/hdfs-site.xml /opt/hbase/conf
-cp /opt/hadoop/conf/mapred-site.xml /opt/hbase/conf
+  cp /opt/hadoop/conf/core-site.xml /opt/hbase/conf
+  cp /opt/hadoop/conf/hdfs-site.xml /opt/hbase/conf
+  cp /opt/hadoop/conf/mapred-site.xml /opt/hbase/conf
 
 cat >> /opt/hbase/conf/hbase-env.sh << EOF
@@ -33,9 +34,9 @@
 EOF
 
-echo "export PATH=/opt/hbase/bin/:\$PATH" >> /etc/profile
-echo "/bin/stop-hbase" > ~/.bash_logout
-echo "/bin/stop-hadoop" >> ~/.bash_logout
-echo "/bin/stop-hbase" > /etc/skel/.bash_logout
-echo "/bin/stop-hadoop" >> /etc/skel/.bash_logout
+  echo "export PATH=/opt/hbase/bin/:\$PATH" >> /etc/profile
+  echo "/bin/stop-hbase" > ~/.bash_logout
+  echo "/bin/stop-hadoop" >> ~/.bash_logout
+  echo "/bin/stop-hbase" > /etc/skel/.bash_logout
+  echo "/bin/stop-hadoop" >> /etc/skel/.bash_logout
 
 cat > ~/hbase-test << EOF
@@ -51,14 +52,18 @@
 EOF
 
-clear
-echo "=========================================="
-echo " !! NOTE !!                               "
-echo " please 'source /etc/profile' to update   "
-echo " current \$PATH environment variables or  "
-echo " login again to update \$PATH variables.  "
-echo " .                                        "
-echo " run 'start-hbase' to start hbase daemons."
-echo " run 'stop-hbase'  to stop hbase daemons. "
-echo " run 'hbase shell ~/hbase-test'  to test  "
-echo " hbase services.                          "
-echo "=========================================="
+  clear
+  echo "=========================================="
+  echo " !! NOTE !!                               "
+  echo " please 'source /etc/profile' to update   "
+  echo " current \$PATH environment variables or  "
+  echo " login again to update \$PATH variables.  "
+  echo " .                                        "
+  echo " run 'start-hbase' to start hbase daemons."
+  echo " run 'stop-hbase'  to stop hbase daemons. "
+  echo " run 'hbase shell hbase-test'  to test    "
+  echo " hbase services.                          "
+  echo "=========================================="
+
+  echo " Starting HBase ....."
+  /bin/start-hbase
+fi
