accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1443214 - in /accumulo/trunk/test/system/continuous: agitator.pl start-agitator.sh
Date Wed, 06 Feb 2013 21:20:34 GMT
Author: ecn
Date: Wed Feb  6 21:20:33 2013
New Revision: 1443214

URL: http://svn.apache.org/viewvc?rev=1443214&view=rev
Log:
ACCUMULO-636 fix read of env var in perl; ugh... perl

Modified:
    accumulo/trunk/test/system/continuous/agitator.pl
    accumulo/trunk/test/system/continuous/start-agitator.sh

Modified: accumulo/trunk/test/system/continuous/agitator.pl
URL: http://svn.apache.org/viewvc/accumulo/trunk/test/system/continuous/agitator.pl?rev=1443214&r1=1443213&r2=1443214&view=diff
==============================================================================
--- accumulo/trunk/test/system/continuous/agitator.pl (original)
+++ accumulo/trunk/test/system/continuous/agitator.pl Wed Feb  6 21:20:33 2013
@@ -24,7 +24,7 @@ if(scalar(@ARGV) != 4 && scalar(@ARGV) !
 }
 
 $ACCUMULO_HOME="../../..";
-$HADOOP_PREFIX=$ENV{'HADOOP_PREFIX'};
+$HADOOP_PREFIX=$ENV{"HADOOP_PREFIX"};
 
 $sleep1 = $ARGV[0];
 $sleep2 = $ARGV[1];
@@ -65,6 +65,7 @@ if ($minKill > $maxKill){
 
 while(1){
 
+
 	$numToKill = int(rand($maxKill - $minKill + 1)) + $minKill;
 	%killed = {};
 

Modified: accumulo/trunk/test/system/continuous/start-agitator.sh
URL: http://svn.apache.org/viewvc/accumulo/trunk/test/system/continuous/start-agitator.sh?rev=1443214&r1=1443213&r2=1443214&view=diff
==============================================================================
--- accumulo/trunk/test/system/continuous/start-agitator.sh (original)
+++ accumulo/trunk/test/system/continuous/start-agitator.sh Wed Feb  6 21:20:33 2013
@@ -17,6 +17,7 @@
 
 
 . continuous-env.sh
+export HADOOP_PREFIX
 
 mkdir -p $CONTINUOUS_LOG_DIR
 



Mime
View raw message