Changeset 170
- Timestamp:
- Jun 9, 2010, 1:25:13 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
nutchez-0.2/src/test/nutchez
r165 r170 76 76 do 77 77 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" 79 79 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" 81 81 done 82 82 elif [ "$(cat $clusterSetup)" == "stop" ]; then 83 83 echo "/opt/nutchez/nutch/bin/hadoop-daemon.sh stop datanode" 84 84 echo "/opt/nutchez/nutch/bin/hadoop-daemon.sh stop tasktracker" 85 #/opt/nutchez/nutch/bin/hadoop-daemon.sh stop datanode86 #/opt/nutchez/nutch/bin/hadoop-daemon.sh stop tasktracker85 /opt/nutchez/nutch/bin/hadoop-daemon.sh stop datanode 86 /opt/nutchez/nutch/bin/hadoop-daemon.sh stop tasktracker 87 87 for node in $(echo $node_list) 88 88 do 89 89 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" 91 91 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" 93 93 done 94 94 else
Note: See TracChangeset
for help on using the changeset viewer.