accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1457896 - /accumulo/branches/1.5/bin/bootstrap_hdfs.sh
Date Mon, 18 Mar 2013 18:00:22 GMT
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



Mime
View raw message