Ignore:
Timestamp:
Dec 22, 2010, 12:43:15 AM (14 years ago)
Author:
jazz
Message:
  • 加入 0.1.3 變更內容,保留 0.1.2 的 cygwin_mirror/setup.ini
File:
1 edited

Legend:

Unmodified
Added
Removed
  • hadoop4win-setup/my_packages/hbase/bin/start-hbase

    r141 r232  
    11#!/bin/bash
    2 cygstart --showminnoactive /bin/bash -c /bin/start-hbase-daemon
    3 for ((i=1;i<=10;i++)); do sleep 1; printf "."; done
    4 printf "\n"
    5 jps
     2if [ -z "$(jps | grep NameNode)" ]; then /bin/start-hadoop; fi
     3if [ -z "$(jps | grep HRegionServer)" ]; then
     4  cygstart --showminnoactive /bin/bash -c /bin/start-hbase-daemon
     5  for ((i=1;i<=10;i++)); do sleep 1; printf "."; done
     6  printf "\n"
     7  jps
     8else
     9  echo "HBase had already started!!"
     10  jps
     11fi
     12
     13echo "============================================"
     14echo " run 'cd ~; hbase shell hbase-test' to test "
     15echo " hbase services.                            "
     16echo "============================================"
Note: See TracChangeset for help on using the changeset viewer.