hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r381821 - /lucene/hadoop/trunk/bin/hadoop-daemon.sh
Date Tue, 28 Feb 2006 23:25:04 GMT
Author: cutting
Date: Tue Feb 28 15:25:02 2006
New Revision: 381821

URL: http://svn.apache.org/viewcvs?rev=381821&view=rev
Log:
Fix rsync command to (a) use ssh as transport, and (b) to correctly
quote the path.

Modified:
    lucene/hadoop/trunk/bin/hadoop-daemon.sh

Modified: lucene/hadoop/trunk/bin/hadoop-daemon.sh
URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/bin/hadoop-daemon.sh?rev=381821&r1=381820&r2=381821&view=diff
==============================================================================
--- lucene/hadoop/trunk/bin/hadoop-daemon.sh (original)
+++ lucene/hadoop/trunk/bin/hadoop-daemon.sh Tue Feb 28 15:25:02 2006
@@ -74,7 +74,7 @@
 
     if [ "$HADOOP_MASTER" != "" ]; then
       echo rsync from $HADOOP_MASTER
-      rsync -a --delete --exclude=.svn $HADOOP_MASTER/ $HADOOP_HOME
+      rsync -a -e ssh --delete --exclude=.svn $HADOOP_MASTER/ "$HADOOP_HOME"
     fi
 
     cd "$HADOOP_HOME"



Mime
View raw message