You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nutch.apache.org by cu...@apache.org on 2005/09/14 21:04:08 UTC

svn commit: r280911 - in /lucene/nutch/branches/mapred/bin: nutch-daemons.sh slaves.sh

Author: cutting
Date: Wed Sep 14 12:04:07 2005
New Revision: 280911

URL: http://svn.apache.org/viewcvs?rev=280911&view=rev
Log:
Change scripts to pass environment, so that shared home directory is not required.

Modified:
    lucene/nutch/branches/mapred/bin/nutch-daemons.sh
    lucene/nutch/branches/mapred/bin/slaves.sh

Modified: lucene/nutch/branches/mapred/bin/nutch-daemons.sh
URL: http://svn.apache.org/viewcvs/lucene/nutch/branches/mapred/bin/nutch-daemons.sh?rev=280911&r1=280910&r2=280911&view=diff
==============================================================================
--- lucene/nutch/branches/mapred/bin/nutch-daemons.sh (original)
+++ lucene/nutch/branches/mapred/bin/nutch-daemons.sh Wed Sep 14 12:04:07 2005
@@ -13,4 +13,4 @@
 bin=`dirname $0`
 bin=`cd $bin; pwd`
 
-exec $bin/slaves.sh /bin/bash --login $bin/nutch-daemon.sh "$@"
+exec $bin/slaves.sh $bin/nutch-daemon.sh "$@"

Modified: lucene/nutch/branches/mapred/bin/slaves.sh
URL: http://svn.apache.org/viewcvs/lucene/nutch/branches/mapred/bin/slaves.sh?rev=280911&r1=280910&r2=280911&view=diff
==============================================================================
--- lucene/nutch/branches/mapred/bin/slaves.sh (original)
+++ lucene/nutch/branches/mapred/bin/slaves.sh Wed Sep 14 12:04:07 2005
@@ -21,5 +21,5 @@
 
 for slave in `cat $NUTCH_SLAVES`; do
  echo $slave:
- ssh -o ConnectTimeout=1 $slave "$@"
+ ssh -o ConnectTimeout=1 -o SendEnv='NUTCH* JAVA*' $slave "$@"
 done