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/hadoop/bin/stop-hadoop

    r129 r232  
    11#!/bin/bash
    2 /opt/hadoop/bin/hadoop-daemon.sh stop tasktracker
    3 /opt/hadoop/bin/hadoop-daemon.sh stop jobtracker
    4 /opt/hadoop/bin/hadoop-daemon.sh stop datanode
    5 /opt/hadoop/bin/hadoop-daemon.sh stop namenode
     2if [ ! -z "$(jps | grep TaskTracker)" ];then /opt/hadoop/bin/hadoop-daemon.sh stop tasktracker ; fi
     3if [ ! -z "$(jps | grep DataNode)" ];then /opt/hadoop/bin/hadoop-daemon.sh stop datanode ; fi
     4if [ ! -z "$(jps | grep JobTracker)" ];then /opt/hadoop/bin/hadoop-daemon.sh stop jobtracker ; fi
     5if [ ! -z "$(jps | grep SecondaryNameNode)" ];then /opt/hadoop/bin/hadoop-daemon.sh stop secondarynamenode ; fi
     6if [ ! -z "$(jps | grep NameNode)" ]; then /opt/hadoop/bin/hadoop-daemon.sh stop namenode ; fi
Note: See TracChangeset for help on using the changeset viewer.