You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tajo.apache.org by bl...@apache.org on 2014/01/10 09:15:38 UTC
git commit: TAJO-490: Tajo can't use 'dfs.nameservices' based on
namenode ha mode.
Updated Branches:
refs/heads/master 3c91fe06e -> 3937ca992
TAJO-490: Tajo can't use 'dfs.nameservices' based on namenode ha mode.
Project: http://git-wip-us.apache.org/repos/asf/incubator-tajo/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tajo/commit/3937ca99
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tajo/tree/3937ca99
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tajo/diff/3937ca99
Branch: refs/heads/master
Commit: 3937ca992c87b4e89a8056c2becef80066501698
Parents: 3c91fe0
Author: blrunner <jh...@gruter.com>
Authored: Fri Jan 10 17:15:25 2014 +0900
Committer: blrunner <jh...@gruter.com>
Committed: Fri Jan 10 17:15:25 2014 +0900
----------------------------------------------------------------------
tajo-dist/src/main/bin/tajo | 11 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/3937ca99/tajo-dist/src/main/bin/tajo
----------------------------------------------------------------------
diff --git a/tajo-dist/src/main/bin/tajo b/tajo-dist/src/main/bin/tajo
index 9de6220..f965142 100755
--- a/tajo-dist/src/main/bin/tajo
+++ b/tajo-dist/src/main/bin/tajo
@@ -213,19 +213,12 @@ for f in $TAJO_CONF_DIR/*.xml; do
TAJO_BASE_CLASSPATH=${TAJO_BASE_CLASSPATH}:$f;
done
-#HIVE_CONF=$HIVE_HOME/conf
-#if [ -d ${HIVE_CONF} ]; then
-# for f in ${HIVE_CONF}/hive-site.xml; do
-# TAJO_BASE_CLASSPATH=${TAJO_BASE_CLASSPATH}:$f;
-# done
-#fi
-
# Tajo Jar Directory
TAJO_JAR_DIRS="$TAJO_HOME
${TAJO_HOME}/lib"
for d in $TAJO_JAR_DIRS; do
- for j in $d/*.jar; do
+ for j in `find $d/*.jar ! -name "*test*"`; do
TAJO_BASE_CLASSPATH=$TAJO_BASE_CLASSPATH:$j
done
done
@@ -304,7 +297,7 @@ for f in $HADOOP_CONF_DIR/*.xml; do
done;
for d in $HADOOP_MODULE_DIRS; do
- for j in $d/*.jar; do
+ for j in `find $d/*.jar ! -name "*test*"`; do
CLASSPATH=${CLASSPATH}:$j
done;
done;