You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tajo.apache.org by hy...@apache.org on 2017/12/04 05:26:44 UTC
tajo git commit: TAJO-2184: Can not run Tajo with non-default
$TAJO_CONF_DIR
Repository: tajo
Updated Branches:
refs/heads/master a14d1e7ef -> 505c258e8
TAJO-2184: Can not run Tajo with non-default $TAJO_CONF_DIR
Update start-tajo.sh: add '--config' parameter when running tajo-daemon.sh
Close #2184
Signed-off-by: Hyunsik Choi <hy...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/tajo/repo
Commit: http://git-wip-us.apache.org/repos/asf/tajo/commit/505c258e
Tree: http://git-wip-us.apache.org/repos/asf/tajo/tree/505c258e
Diff: http://git-wip-us.apache.org/repos/asf/tajo/diff/505c258e
Branch: refs/heads/master
Commit: 505c258e85243e15251a45f0766a4f85b5976252
Parents: a14d1e7
Author: Lee Dongjin <do...@apache.org>
Authored: Tue Oct 18 21:12:41 2016 +0900
Committer: Hyunsik Choi <hy...@apache.org>
Committed: Sun Dec 3 21:25:27 2017 -0800
----------------------------------------------------------------------
tajo-dist/src/main/bin/start-tajo.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tajo/blob/505c258e/tajo-dist/src/main/bin/start-tajo.sh
----------------------------------------------------------------------
diff --git a/tajo-dist/src/main/bin/start-tajo.sh b/tajo-dist/src/main/bin/start-tajo.sh
index ef816f3..c90e6d8 100755
--- a/tajo-dist/src/main/bin/start-tajo.sh
+++ b/tajo-dist/src/main/bin/start-tajo.sh
@@ -32,7 +32,7 @@ if [ "$AUTOHA_ENABLED" = "true" ]; then
if [ -f "${TAJO_CONF_DIR}/masters" ]; then
MASTER_FILE=${TAJO_CONF_DIR}/masters
MASTER_NAMES=$(cat "$MASTER_FILE" | sed 's/#.*$//;/^$/d')
- "$bin/tajo-daemons.sh" --hosts masters cd "$TAJO_HOME" \; "$bin/tajo-daemon.sh" start master
+ "$bin/tajo-daemons.sh" --hosts masters cd "$TAJO_HOME" \; "$bin/tajo-daemon.sh" --config $TAJO_CONF_DIR start master
fi
else
echo "Starting single TajoMaster"
@@ -46,10 +46,10 @@ fi
if [ "$TAJO_PULLSERVER_STANDALONE" = "true" ]; then
- "$bin/tajo-daemons.sh" cd "$TAJO_HOME" \; "$bin/tajo-daemon.sh" start pullserver
+ "$bin/tajo-daemons.sh" cd "$TAJO_HOME" \; "$bin/tajo-daemon.sh" --config $TAJO_CONF_DIR start pullserver
fi
-"$bin/tajo-daemons.sh" cd "$TAJO_HOME" \; "$bin/tajo-daemon.sh" start worker
+"$bin/tajo-daemons.sh" cd "$TAJO_HOME" \; "$bin/tajo-daemon.sh" --config $TAJO_CONF_DIR start worker
# Display WEB UI URL and TajoMaster RPC address.
# Getting configuration value of http address and rpc address.