Return-Path: X-Original-To: apmail-hive-commits-archive@www.apache.org Delivered-To: apmail-hive-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6C9EA18D3C for ; Fri, 15 May 2015 04:31:30 +0000 (UTC) Received: (qmail 7021 invoked by uid 500); 15 May 2015 04:31:29 -0000 Delivered-To: apmail-hive-commits-archive@hive.apache.org Received: (qmail 6872 invoked by uid 500); 15 May 2015 04:31:29 -0000 Mailing-List: contact commits-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-dev@hive.apache.org Delivered-To: mailing list commits@hive.apache.org Received: (qmail 6076 invoked by uid 99); 15 May 2015 04:31:28 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 May 2015 04:31:28 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 80EE5E3CC1; Fri, 15 May 2015 04:31:28 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: xuefu@apache.org To: commits@hive.apache.org Date: Fri, 15 May 2015 04:31:37 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [10/50] [abbrv] hive git commit: HIVE-10605 - Make hive version number update automatically in webhcat-default.xml during hive tar generation (Eugene Koifman, reviewed by Thejas Nair) HIVE-10605 - Make hive version number update automatically in webhcat-default.xml during hive tar generation (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/eefb0718 Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/eefb0718 Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/eefb0718 Branch: refs/heads/beeline-cli Commit: eefb0718ea347680850620c5dd9eff5ec202566d Parents: 02b6cd1 Author: Eugene Koifman Authored: Tue May 5 18:00:15 2015 -0700 Committer: Eugene Koifman Committed: Tue May 5 18:00:15 2015 -0700 ---------------------------------------------------------------------- .../deployers/config/webhcat/webhcat-site.xml | 9 +-------- hcatalog/src/test/e2e/templeton/deployers/env.sh | 1 + hcatalog/webhcat/svr/pom.xml | 13 +++++++------ .../webhcat/svr/src/main/config/webhcat-default.xml | 10 +++++----- packaging/src/main/assembly/bin.xml | 1 + 5 files changed, 15 insertions(+), 19 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hive/blob/eefb0718/hcatalog/src/test/e2e/templeton/deployers/config/webhcat/webhcat-site.xml ---------------------------------------------------------------------- diff --git a/hcatalog/src/test/e2e/templeton/deployers/config/webhcat/webhcat-site.xml b/hcatalog/src/test/e2e/templeton/deployers/config/webhcat/webhcat-site.xml index 7a2d450..8bcb1f0 100644 --- a/hcatalog/src/test/e2e/templeton/deployers/config/webhcat/webhcat-site.xml +++ b/hcatalog/src/test/e2e/templeton/deployers/config/webhcat/webhcat-site.xml @@ -24,8 +24,7 @@ - + templeton.hcat @@ -34,12 +33,6 @@ - templeton.libjars - ${env.TEMPLETON_HOME}/../lib/zookeeper-3.4.6.jar,${env.TEMPLETON_HOME}/../lib/hive-common-1.2.0-SNAPSHOT.jar - Jars to add to the classpath. - - - templeton.pig.archive hdfs:///apps/templeton/pig-${env.PIG_VERSION}.tar.gz The path to the Pig archive. http://git-wip-us.apache.org/repos/asf/hive/blob/eefb0718/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 a9cc2d7..8b719f2 100755 --- a/hcatalog/src/test/e2e/templeton/deployers/env.sh +++ b/hcatalog/src/test/e2e/templeton/deployers/env.sh @@ -22,6 +22,7 @@ # define necessary env vars here and source it in other files +#todo: most of these variables are defined in pom.xml - see this can be integrated echo ${HADOOP_VERSION}; if [ -z ${HADOOP_VERSION} ]; then http://git-wip-us.apache.org/repos/asf/hive/blob/eefb0718/hcatalog/webhcat/svr/pom.xml ---------------------------------------------------------------------- diff --git a/hcatalog/webhcat/svr/pom.xml b/hcatalog/webhcat/svr/pom.xml index 54b8c98..5b6696e 100644 --- a/hcatalog/webhcat/svr/pom.xml +++ b/hcatalog/webhcat/svr/pom.xml @@ -151,12 +151,13 @@ - - - . - src/main/config - - + + + . + src/main/config + true + + org.apache.maven.plugins http://git-wip-us.apache.org/repos/asf/hive/blob/eefb0718/hcatalog/webhcat/svr/src/main/config/webhcat-default.xml ---------------------------------------------------------------------- diff --git a/hcatalog/webhcat/svr/src/main/config/webhcat-default.xml b/hcatalog/webhcat/svr/src/main/config/webhcat-default.xml index dc6521a..801f3a5 100644 --- a/hcatalog/webhcat/svr/src/main/config/webhcat-default.xml +++ b/hcatalog/webhcat/svr/src/main/config/webhcat-default.xml @@ -39,7 +39,7 @@ templeton.libjars - ${env.TEMPLETON_HOME}/../lib/zookeeper-3.4.6.jar,${env.TEMPLETON_HOME}/../lib/hive-common-1.2.0-SNAPSHOT.jar + ${env.TEMPLETON_HOME}/../lib/zookeeper-${zookeeper.version}.jar,${env.TEMPLETON_HOME}/../lib/hive-common-${project.version}.jar Jars to add to the classpath. @@ -87,7 +87,7 @@ templeton.pig.path - pig-0.11.1.tar.gz/pig-0.11.1/bin/pig + pig-${pig.version}.tar.gz/pig-${pig.version}/bin/pig The path to the Pig executable. @@ -105,7 +105,7 @@ templeton.hive.path - hive-0.11.0.tar.gz/hive-0.11.0/bin/hive + hive-${project.version}.tar.gz/hive-${project.version}/bin/hive The path to the Hive executable. Applies only if templeton.hive.archive is defined. @@ -125,7 +125,7 @@ templeton.hive.home - hive-0.14.0-SNAPSHOT-bin.tar.gz/hive-0.14.0-SNAPSHOT-bin + hive-${project.version}-bin.tar.gz/hive-${project.version}-bin The path to the Hive home within the tar. This is needed if Hive is not installed on all nodes in the cluster and needs to be shipped to the target node in the cluster to execute Pig @@ -134,7 +134,7 @@ templeton.hcat.home - hive-0.14.0-SNAPSHOT-bin.tar.gz/hive-0.14.0-SNAPSHOT-bin/hcatalog + hive-${project.version}-bin.tar.gz/hive-${project.version}-bin/hcatalog The path to the HCat home within the tar. This is needed if Hive is not installed on all nodes in the cluster and needs to be shipped to the target node in the cluster to execute Pig http://git-wip-us.apache.org/repos/asf/hive/blob/eefb0718/packaging/src/main/assembly/bin.xml ---------------------------------------------------------------------- diff --git a/packaging/src/main/assembly/bin.xml b/packaging/src/main/assembly/bin.xml index 2cda623..a1c176f 100644 --- a/packaging/src/main/assembly/bin.xml +++ b/packaging/src/main/assembly/bin.xml @@ -276,6 +276,7 @@ webhcat-default.xml webhcat-log4j.properties + true hcatalog/etc/webhcat