accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject git commit: ACCUMULO-1932 Add in a configuration for the Accumulo user, and then make sure we exec the magitator as that user so we don't restart the master and gc as root.
Date Wed, 27 Nov 2013 02:10:25 GMT
Updated Branches:
  refs/heads/1.5.1-SNAPSHOT 64aab864a -> 4be3d6625


ACCUMULO-1932 Add in a configuration for the Accumulo user, and then make sure we exec the
magitator as that user so we
don't restart the master and gc as root.


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/4be3d662
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/4be3d662
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/4be3d662

Branch: refs/heads/1.5.1-SNAPSHOT
Commit: 4be3d662550f3c5ecf6b1a501d2a9beafa5b2d9a
Parents: 64aab86
Author: Josh Elser <elserj@apache.org>
Authored: Tue Nov 26 21:08:27 2013 -0500
Committer: Josh Elser <elserj@apache.org>
Committed: Tue Nov 26 21:08:27 2013 -0500

----------------------------------------------------------------------
 test/system/continuous/continuous-env.sh.example | 1 +
 test/system/continuous/start-agitator.sh         | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/4be3d662/test/system/continuous/continuous-env.sh.example
----------------------------------------------------------------------
diff --git a/test/system/continuous/continuous-env.sh.example b/test/system/continuous/continuous-env.sh.example
index 833393a..af80081 100644
--- a/test/system/continuous/continuous-env.sh.example
+++ b/test/system/continuous/continuous-env.sh.example
@@ -24,6 +24,7 @@ ZOOKEEPER_HOME=${ZOOKEEPER_HOME:-/opt/zookeeper}
 CONTINUOUS_LOG_DIR=$ACCUMULO_HOME/test/system/continuous/logs
 INSTANCE_NAME=instance
 ZOO_KEEPERS=zhost1,zhost2
+ACCUMULO_USER=accumulo
 USER=user
 PASS=pass
 TABLE=ci

http://git-wip-us.apache.org/repos/asf/accumulo/blob/4be3d662/test/system/continuous/start-agitator.sh
----------------------------------------------------------------------
diff --git a/test/system/continuous/start-agitator.sh b/test/system/continuous/start-agitator.sh
index 980cd77..fd43a14 100755
--- a/test/system/continuous/start-agitator.sh
+++ b/test/system/continuous/start-agitator.sh
@@ -23,4 +23,4 @@ mkdir -p $CONTINUOUS_LOG_DIR
 
 nohup ./agitator.pl $KILL_SLEEP_TIME $TUP_SLEEP_TIME $MIN_KILL $MAX_KILL >$CONTINUOUS_LOG_DIR/`date
+%Y%m%d%H%M%S`_`hostname`_agitator.out 2>$CONTINUOUS_LOG_DIR/`date +%Y%m%d%H%M%S`_`hostname`_agitator.err
&
 
-nohup ./magitator.pl $MASTER_KILL_SLEEP_TIME $MASTER_RESTART_SLEEP_TIME >$CONTINUOUS_LOG_DIR/`date
+%Y%m%d%H%M%S`_`hostname`_magitator.out 2>$CONTINUOUS_LOG_DIR/`date +%Y%m%d%H%M%S`_`hostname`_magitator.err
&
+su -c "nohup $CONTINUOUS_CONF_DIR/magitator.pl $MASTER_KILL_SLEEP_TIME $MASTER_RESTART_SLEEP_TIME
>$CONTINUOUS_LOG_DIR/`date +%Y%m%d%H%M%S`_`hostname`_magitator.out 2>$CONTINUOUS_LOG_DIR/`date
+%Y%m%d%H%M%S`_`hostname`_magitator.err &" -m - $ACCUMULO_USER


Mime
View raw message