source: hadoop4win-setup/my_packages/hadoop/bin/start-hadoop @ 241

Last change on this file since 241 was 232, checked in by jazz, 14 years ago
  • 加入 0.1.3 變更內容,保留 0.1.2 的 cygwin_mirror/setup.ini
File size: 460 bytes
Line 
1#!/bin/bash
2if [ -z "$(jps | grep NameNode)" ]; then
3  cygstart --showminnoactive /bin/bash -c /bin/start-hadoop-daemon
4  for ((i=1;i<=10;i++)); do sleep 1; printf "."; done
5  printf "\n"
6  jps
7else
8  echo "Hadoop had already started!!"
9  jps
10fi
11
12echo "==============================================="
13echo " check http://localhost:50030 for Job Status.  "
14echo " check http://localhost:50070 for HDFS status. "
15echo "==============================================="
Note: See TracBrowser for help on using the repository browser.