Changeset 232 for hadoop4win-setup/my_packages/hadoop/bin/start-hadoop
- Timestamp:
- Dec 22, 2010, 12:43:15 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
hadoop4win-setup/my_packages/hadoop/bin/start-hadoop
r140 r232 1 1 #!/bin/bash 2 cygstart --showminnoactive /bin/bash -c /bin/start-hadoop-daemon 3 for ((i=1;i<=10;i++)); do sleep 1; printf "."; done 4 printf "\n" 5 jps 2 if [ -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 7 else 8 echo "Hadoop had already started!!" 9 jps 10 fi 11 12 echo "===============================================" 13 echo " check http://localhost:50030 for Job Status. " 14 echo " check http://localhost:50070 for HDFS status. " 15 echo "==============================================="
Note: See TracChangeset
for help on using the changeset viewer.