accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1442753 - in /accumulo/trunk/test/system/randomwalk: bin/copy-config.sh bin/reset-cluster.sh bin/start-all.sh bin/start-local.sh conf/modules/Concurrent.xml
Date Tue, 05 Feb 2013 21:21:47 GMT
Author: ecn
Date: Tue Feb  5 21:21:46 2013
New Revision: 1442753

URL: http://svn.apache.org/viewvc?rev=1442753&view=rev
Log:
ACCUMULO-382 add random configuration changes during the chaos of the Concurrent test

Modified:
    accumulo/trunk/test/system/randomwalk/bin/copy-config.sh
    accumulo/trunk/test/system/randomwalk/bin/reset-cluster.sh
    accumulo/trunk/test/system/randomwalk/bin/start-all.sh
    accumulo/trunk/test/system/randomwalk/bin/start-local.sh
    accumulo/trunk/test/system/randomwalk/conf/modules/Concurrent.xml

Modified: accumulo/trunk/test/system/randomwalk/bin/copy-config.sh
URL: http://svn.apache.org/viewvc/accumulo/trunk/test/system/randomwalk/bin/copy-config.sh?rev=1442753&r1=1442752&r2=1442753&view=diff
==============================================================================
--- accumulo/trunk/test/system/randomwalk/bin/copy-config.sh (original)
+++ accumulo/trunk/test/system/randomwalk/bin/copy-config.sh Tue Feb  5 21:21:46 2013
@@ -16,8 +16,8 @@
 # limitations under the License.
 
 
-if [ -z $HADOOP_HOME ] ; then
-    echo "HADOOP_HOME is not set.  Please make sure it's set globally."
+if [ -z $HADOOP_PREFIX ] ; then
+    echo "HADOOP_PREFIX is not set.  Please make sure it's set globally."
     exit 1
 fi
 
@@ -31,8 +31,8 @@ RW_HOME=$ACCUMULO_HOME/test/system/rando
 cd $RW_HOME
 
 tar czf config.tgz conf
-$HADOOP_HOME/bin/hadoop fs -rmr /randomwalk 2>/dev/null
-$HADOOP_HOME/bin/hadoop fs -mkdir /randomwalk
-$HADOOP_HOME/bin/hadoop fs -put config.tgz /randomwalk
-$HADOOP_HOME/bin/hadoop fs -setrep 3 /randomwalk/config.tgz
+$HADOOP_PREFIX/bin/hadoop fs -rmr /randomwalk 2>/dev/null
+$HADOOP_PREFIX/bin/hadoop fs -mkdir /randomwalk
+$HADOOP_PREFIX/bin/hadoop fs -put config.tgz /randomwalk
+$HADOOP_PREFIX/bin/hadoop fs -setrep 3 /randomwalk/config.tgz
 rm config.tgz

Modified: accumulo/trunk/test/system/randomwalk/bin/reset-cluster.sh
URL: http://svn.apache.org/viewvc/accumulo/trunk/test/system/randomwalk/bin/reset-cluster.sh?rev=1442753&r1=1442752&r2=1442753&view=diff
==============================================================================
--- accumulo/trunk/test/system/randomwalk/bin/reset-cluster.sh (original)
+++ accumulo/trunk/test/system/randomwalk/bin/reset-cluster.sh Tue Feb  5 21:21:46 2013
@@ -38,8 +38,8 @@ if [ -f $ACCUMULO_HOME/conf/accumulo-env
 . $ACCUMULO_HOME/conf/accumulo-env.sh
 fi
 
-if [ -z $HADOOP_HOME ] ; then
-    echo "HADOOP_HOME is not set.  Please make sure it's set globally."
+if [ -z $HADOOP_PREFIX ] ; then
+    echo "HADOOP_PREFIX is not set.  Please make sure it's set globally."
     exit 1
 fi
 
@@ -70,7 +70,7 @@ echo 'pushing new code'
 prsync -r -h $ACCUMULO_HOME/conf/slaves $ACCUMULO_HOME /opt/dev
 
 echo 'removing /accumulo dir'
-$HADOOP_HOME/bin/hadoop fs -rmr /accumulo
+$HADOOP_PREFIX/bin/hadoop fs -rmr /accumulo
 
 echo 'creating new instance'
 printf "test\nY\nsecret\nsecret\n" | $ACCUMULO_HOME/bin/accumulo init

Modified: accumulo/trunk/test/system/randomwalk/bin/start-all.sh
URL: http://svn.apache.org/viewvc/accumulo/trunk/test/system/randomwalk/bin/start-all.sh?rev=1442753&r1=1442752&r2=1442753&view=diff
==============================================================================
--- accumulo/trunk/test/system/randomwalk/bin/start-all.sh (original)
+++ accumulo/trunk/test/system/randomwalk/bin/start-all.sh Tue Feb  5 21:21:46 2013
@@ -39,8 +39,8 @@ if [ -f $ACCUMULO_HOME/conf/accumulo-env
 fi
 
 
-if [ -z "$HADOOP_HOME" ] ; then
-    echo "HADOOP_HOME is not set.  Please make sure it's set globally."
+if [ -z "$HADOOP_PREFIX" ] ; then
+    echo "HADOOP_PREFIX is not set.  Please make sure it's set globally."
     exit 1
 fi
 

Modified: accumulo/trunk/test/system/randomwalk/bin/start-local.sh
URL: http://svn.apache.org/viewvc/accumulo/trunk/test/system/randomwalk/bin/start-local.sh?rev=1442753&r1=1442752&r2=1442753&view=diff
==============================================================================
--- accumulo/trunk/test/system/randomwalk/bin/start-local.sh (original)
+++ accumulo/trunk/test/system/randomwalk/bin/start-local.sh Tue Feb  5 21:21:46 2013
@@ -39,8 +39,8 @@ if [ -f $ACCUMULO_HOME/conf/accumulo-env
 . $ACCUMULO_HOME/conf/accumulo-env.sh
 fi
 
-if [ -z "$HADOOP_HOME" ] ; then
-    echo "HADOOP_HOME is not set.  Please make sure it's set globally."
+if [ -z "$HADOOP_PREFIX" ] ; then
+    echo "HADOOP_PREFIX is not set.  Please make sure it's set globally."
     exit 1
 fi
 
@@ -54,7 +54,7 @@ RW_HOME="$ACCUMULO_HOME/test/system/rand
 cd "$RW_HOME"
 
 # grab config from HDFS
-"$HADOOP_HOME/bin/hadoop" fs -get /randomwalk/config.tgz config.tgz
+"$HADOOP_PREFIX/bin/hadoop" fs -get /randomwalk/config.tgz config.tgz
 
 # extract config to a tmp directory
 TEMP="`hostname`-tmp"

Modified: accumulo/trunk/test/system/randomwalk/conf/modules/Concurrent.xml
URL: http://svn.apache.org/viewvc/accumulo/trunk/test/system/randomwalk/conf/modules/Concurrent.xml?rev=1442753&r1=1442752&r2=1442753&view=diff
==============================================================================
--- accumulo/trunk/test/system/randomwalk/conf/modules/Concurrent.xml (original)
+++ accumulo/trunk/test/system/randomwalk/conf/modules/Concurrent.xml Tue Feb  5 21:21:46
2013
@@ -46,6 +46,7 @@
   <edge id="ct.CheckBalance" weight="1000"/>
   <edge id="ct.StopTabletServer" weight="1000"/>
   <edge id="ct.StartAll" weight="1000"/>
+  <edge id="ct.Config" weight="1000"/>
   <edge id="END" weight="1"/>
 </node>
 
@@ -142,4 +143,8 @@
   <edge id="dummy.ToAll" weight="1"/>
 </node>
 
+<node id="ct.Config">
+  <edge id="dummy.ToAll" weight="1"/>
+</node>
+
 </module>



Mime
View raw message