|
Last change
on this file since 247 was
232,
checked in by jazz, 15 years ago
|
- 加入 0.1.3 變更內容,保留 0.1.2 的 cygwin_mirror/setup.ini
|
-
Property svn:executable set to
*
|
|
File size:
514 bytes
|
| Line | |
|---|
| 1 | #!/bin/bash |
|---|
| 2 | if [ -z "$(jps | grep NameNode)" ]; then /bin/start-hadoop; fi |
|---|
| 3 | if [ -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 |
|---|
| 8 | else |
|---|
| 9 | echo "HBase had already started!!" |
|---|
| 10 | jps |
|---|
| 11 | fi |
|---|
| 12 | |
|---|
| 13 | echo "============================================" |
|---|
| 14 | echo " run 'cd ~; hbase shell hbase-test' to test " |
|---|
| 15 | echo " hbase services. " |
|---|
| 16 | echo "============================================" |
|---|
Note: See
TracBrowser
for help on using the repository browser.