Changeset 170


Ignore:
Timestamp:
Jun 9, 2010, 1:25:13 PM (14 years ago)
Author:
rock
Message:

打開註解

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nutchez-0.2/src/test/nutchez

    r165 r170  
    7676    do
    7777        echo -e "ssh -o StrictHostKeyChecking=no $node /opt/nutchez/nutch/bin/hadoop-daemon.sh start datanode"
    78 #        ssh -o StrictHostKeyChecking=no $node "/opt/nutchez/nutch/bin/hadoop-daemon.sh start datanode"
     78        ssh -o StrictHostKeyChecking=no $node "/opt/nutchez/nutch/bin/hadoop-daemon.sh start datanode"
    7979        echo -e "ssh -o StrictHostKeyChecking=no $node /opt/nutchez/nutch/bin/hadoop-daemon.sh start tasktracker"
    80 #        ssh -o StrictHostKeyChecking=no $node "/opt/nutchez/nutch/bin/hadoop-daemon.sh start tasktracker"
     80        ssh -o StrictHostKeyChecking=no $node "/opt/nutchez/nutch/bin/hadoop-daemon.sh start tasktracker"
    8181    done
    8282elif [ "$(cat $clusterSetup)" == "stop" ]; then
    8383    echo "/opt/nutchez/nutch/bin/hadoop-daemon.sh stop datanode"
    8484    echo "/opt/nutchez/nutch/bin/hadoop-daemon.sh stop tasktracker"
    85 #   /opt/nutchez/nutch/bin/hadoop-daemon.sh stop datanode
    86 #   /opt/nutchez/nutch/bin/hadoop-daemon.sh stop tasktracker
     85    /opt/nutchez/nutch/bin/hadoop-daemon.sh stop datanode
     86    /opt/nutchez/nutch/bin/hadoop-daemon.sh stop tasktracker
    8787    for node in $(echo $node_list)
    8888    do
    8989        echo -e "ssh -o StrictHostKeyChecking=no $node /opt/nutchez/nutch/bin/hadoop-daemon.sh stop datanode"
    90 #       ssh -o StrictHostKeyChecking=no $node "/opt/nutchez/nutch/bin/hadoop-daemon.sh stop datanode"
     90        ssh -o StrictHostKeyChecking=no $node "/opt/nutchez/nutch/bin/hadoop-daemon.sh stop datanode"
    9191        echo -e "ssh -o StrictHostKeyChecking=no $node /opt/nutchez/nutch/bin/hadoop-daemon.sh stop tasktracker"
    92 #       ssh -o StrictHostKeyChecking=no $node "/opt/nutchez/nutch/bin/hadoop-daemon.sh stop tasktracker"
     92        ssh -o StrictHostKeyChecking=no $node "/opt/nutchez/nutch/bin/hadoop-daemon.sh stop tasktracker"
    9393    done
    9494else
Note: See TracChangeset for help on using the changeset viewer.