FAQ
Repository: hive
Updated Branches:
   refs/heads/branch-1 ad54cce7d -> ed36b0230


HIVE-11140 auto compute PROJ_HOME in hcatalog/src/test/e2e/templeton/deployers/env.sh (Eugene Koifman, reviewed by Thejas Nair)


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

Branch: refs/heads/branch-1
Commit: ed36b02302384ef8eb6bca25e81d0b54f5042a49
Parents: ad54cce
Author: Eugene Koifman <ekoifman@hortonworks.com>
Authored: Tue Jun 30 15:35:53 2015 -0700
Committer: Eugene Koifman <ekoifman@hortonworks.com>
Committed: Tue Jun 30 15:35:53 2015 -0700

----------------------------------------------------------------------
  hcatalog/src/test/e2e/templeton/deployers/env.sh | 5 ++---
  1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/ed36b023/hcatalog/src/test/e2e/templeton/deployers/env.sh
----------------------------------------------------------------------
diff --git a/hcatalog/src/test/e2e/templeton/deployers/env.sh b/hcatalog/src/test/e2e/templeton/deployers/env.sh
index 8b719f2..804bdd4 100755
--- a/hcatalog/src/test/e2e/templeton/deployers/env.sh
+++ b/hcatalog/src/test/e2e/templeton/deployers/env.sh
@@ -42,9 +42,8 @@ if [ -z ${TEZ_VERSION} ]; then
  fi

  #Root of project source tree
-if [ -z ${PROJ_HOME} ]; then
- export PROJ_HOME=/Users/${USER}/dev/hive
-fi
+current_dir=$( cd "$( dirname "${BASH_SOURCE[0]}" )"/../../../../.. && pwd )
+export PROJ_HOME=`dirname $current_dir`
  export HIVE_HOME=${PROJ_HOME}/packaging/target/apache-hive-${HIVE_VERSION}-bin/apache-hive-${HIVE_VERSION}-bin

  if [ -z ${HADOOP_HOME} ]; then

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 2 | next ›
Discussion Overview
groupcommits @
categorieshive, hadoop
postedJun 30, '15 at 10:11p
activeJun 30, '15 at 10:36p
posts2
users1
websitehive.apache.org

1 user in discussion

Ekoifman: 2 posts

People

Translate

site design / logo © 2021 Grokbase