Last change
on this file since 235 was
232,
checked in by jazz, 14 years ago
|
- 加入 0.1.3 變更內容,保留 0.1.2 的 cygwin_mirror/setup.ini
|
File size:
511 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | if [ ! -z "$(jps | grep TaskTracker)" ];then /opt/hadoop/bin/hadoop-daemon.sh stop tasktracker ; fi |
---|
3 | if [ ! -z "$(jps | grep DataNode)" ];then /opt/hadoop/bin/hadoop-daemon.sh stop datanode ; fi |
---|
4 | if [ ! -z "$(jps | grep JobTracker)" ];then /opt/hadoop/bin/hadoop-daemon.sh stop jobtracker ; fi |
---|
5 | if [ ! -z "$(jps | grep SecondaryNameNode)" ];then /opt/hadoop/bin/hadoop-daemon.sh stop secondarynamenode ; fi |
---|
6 | if [ ! -z "$(jps | grep NameNode)" ]; then /opt/hadoop/bin/hadoop-daemon.sh stop namenode ; fi |
---|
Note: See
TracBrowser
for help on using the repository browser.