[08/25] hive git commit: HIVE-11140 auto compute PROJ_HOME in hcatalog/src/test/e2e/templeton/deployers/env.sh (Eugene Koifman, reviewed by Thejas Nair)
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/ffce2258 Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/ffce2258 Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/ffce2258 Branch: refs/heads/llap Commit: ffce225896d73ac0af1af4afb9d5bef53699ab37 Parents: 994d98c Author: Eugene Koifman Authored: Tue Jun 30 15:11:43 2015 -0700 Committer: Eugene Koifman Committed: Tue Jun 30 15:11:43 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/ffce2258/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
hive git commit: HIVE-11140 auto compute PROJ_HOME in hcatalog/src/test/e2e/templeton/deployers/env.sh (Eugene Koifman, reviewed by Thejas Nair)
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 Authored: Tue Jun 30 15:35:53 2015 -0700 Committer: Eugene Koifman 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
hive git commit: HIVE-11140 auto compute PROJ_HOME in hcatalog/src/test/e2e/templeton/deployers/env.sh (Eugene Koifman, reviewed by Thejas Nair)
Repository: hive Updated Branches: refs/heads/master 994d98c09 -> ffce22589 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/ffce2258 Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/ffce2258 Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/ffce2258 Branch: refs/heads/master Commit: ffce225896d73ac0af1af4afb9d5bef53699ab37 Parents: 994d98c Author: Eugene Koifman Authored: Tue Jun 30 15:11:43 2015 -0700 Committer: Eugene Koifman Committed: Tue Jun 30 15:11:43 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/ffce2258/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