You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ec...@apache.org on 2013/03/18 19:00:22 UTC
svn commit: r1457896 - /accumulo/branches/1.5/bin/bootstrap_hdfs.sh
Author: ecn
Date: Mon Mar 18 18:00:22 2013
New Revision: 1457896
URL: http://svn.apache.org/r1457896
Log:
ACCUMULO-1185 add sync calls to push base install across the cluster
Modified:
accumulo/branches/1.5/bin/bootstrap_hdfs.sh
Modified: accumulo/branches/1.5/bin/bootstrap_hdfs.sh
URL: http://svn.apache.org/viewvc/accumulo/branches/1.5/bin/bootstrap_hdfs.sh?rev=1457896&r1=1457895&r2=1457896&view=diff
==============================================================================
--- accumulo/branches/1.5/bin/bootstrap_hdfs.sh (original)
+++ accumulo/branches/1.5/bin/bootstrap_hdfs.sh Mon Mar 18 18:00:22 2013
@@ -80,3 +80,7 @@ fi
"$HADOOP_PREFIX/bin/hadoop" fs -rmr "$SYSTEM_CONTEXT_HDFS_DIR/commons-vfs2-2.0.jar" > /dev/null
"$HADOOP_PREFIX/bin/hadoop" fs -copyToLocal "$SYSTEM_CONTEXT_HDFS_DIR/accumulo-start-${ACCUMULO_VERSION}.jar" "$ACCUMULO_HOME/lib/." > /dev/null
"$HADOOP_PREFIX/bin/hadoop" fs -rmr "$SYSTEM_CONTEXT_HDFS_DIR/accumulo-start-${ACCUMULO_VERSION}.jar" > /dev/null
+for f in `cat $ACCUMULO_HOME/conf/slaves`
+do
+ rsync -ra --delete $ACCUMULO_HOME `dirname $ACCUMULO_HOME`
+done