accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1398291 - in /accumulo/branches/1.4: ./ src/ src/core/ src/server/ test/system/randomwalk/ test/system/randomwalk/bin/start-local.sh
Date Mon, 15 Oct 2012 13:59:24 GMT
Author: ecn
Date: Mon Oct 15 13:59:23 2012
New Revision: 1398291

URL: http://svn.apache.org/viewvc?rev=1398291&view=rev
Log:
ACCUMULO-644 modify the start script to run on a shared file system: merge to 1.4

Modified:
    accumulo/branches/1.4/   (props changed)
    accumulo/branches/1.4/src/   (props changed)
    accumulo/branches/1.4/src/core/   (props changed)
    accumulo/branches/1.4/src/server/   (props changed)
    accumulo/branches/1.4/test/system/randomwalk/   (props changed)
    accumulo/branches/1.4/test/system/randomwalk/bin/start-local.sh

Propchange: accumulo/branches/1.4/
------------------------------------------------------------------------------
  Merged /accumulo/trunk:r1398290

Propchange: accumulo/branches/1.4/src/
------------------------------------------------------------------------------
  Merged /accumulo/trunk/src:r1398290

Propchange: accumulo/branches/1.4/src/core/
------------------------------------------------------------------------------
  Merged /accumulo/trunk/src/core:r1398290

Propchange: accumulo/branches/1.4/src/server/
------------------------------------------------------------------------------
  Merged /accumulo/trunk/src/server:r1398290

Propchange: accumulo/branches/1.4/test/system/randomwalk/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Mon Oct 15 13:59:23 2012
@@ -0,0 +1,2 @@
+*-tmp
+logs

Modified: accumulo/branches/1.4/test/system/randomwalk/bin/start-local.sh
URL: http://svn.apache.org/viewvc/accumulo/branches/1.4/test/system/randomwalk/bin/start-local.sh?rev=1398291&r1=1398290&r2=1398291&view=diff
==============================================================================
--- accumulo/branches/1.4/test/system/randomwalk/bin/start-local.sh (original)
+++ accumulo/branches/1.4/test/system/randomwalk/bin/start-local.sh Mon Oct 15 13:59:23 2012
@@ -57,9 +57,10 @@ cd "$RW_HOME"
 "$HADOOP_HOME/bin/hadoop" fs -get /randomwalk/config.tgz config.tgz
 
 # extract config to a tmp directory
-rm -rf tmp/
-mkdir tmp/
-tar xzf config.tgz -C tmp/
+TEMP="`hostname`-tmp"
+rm -rf "$TEMP"
+mkdir "$TEMP"
+tar xzf config.tgz -C "$TEMP"
 rm config.tgz
 
 # config the logging
@@ -71,4 +72,4 @@ fi
 LOG_ID=`hostname -s`_`date +%Y%m%d_%H%M%S`
 
 # run the local walker
-"$ACCUMULO_HOME/bin/accumulo" org.apache.accumulo.server.test.randomwalk.Framework "$RW_HOME/tmp/conf/"
"$RW_LOGS" "$LOG_ID" "$1" >"$RW_LOGS/$LOG_ID.out" 2>"$RW_LOGS/$LOG_ID.err" &
+"$ACCUMULO_HOME/bin/accumulo" org.apache.accumulo.server.test.randomwalk.Framework "$RW_HOME/$TEMP/conf/"
"$RW_LOGS" "$LOG_ID" "$1" >"$RW_LOGS/$LOG_ID.out" 2>"$RW_LOGS/$LOG_ID.err" &



Mime
View raw message