Return-Path: X-Original-To: apmail-tajo-commits-archive@minotaur.apache.org Delivered-To: apmail-tajo-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 33E9B110A4 for ; Thu, 11 Sep 2014 03:18:26 +0000 (UTC) Received: (qmail 40705 invoked by uid 500); 11 Sep 2014 03:18:26 -0000 Delivered-To: apmail-tajo-commits-archive@tajo.apache.org Received: (qmail 40668 invoked by uid 500); 11 Sep 2014 03:18:26 -0000 Mailing-List: contact commits-help@tajo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tajo.apache.org Delivered-To: mailing list commits@tajo.apache.org Received: (qmail 40658 invoked by uid 99); 11 Sep 2014 03:18:26 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Sep 2014 03:18:26 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id B93A990E3AC; Thu, 11 Sep 2014 03:18:25 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: blrunner@apache.org To: commits@tajo.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: git commit: TAJO-1027: Upgrade Hive to 0.13.0 and 0.13.1. (jaehwa) Date: Thu, 11 Sep 2014 03:18:25 +0000 (UTC) Repository: tajo Updated Branches: refs/heads/master 604eb3222 -> 4efb45b1d TAJO-1027: Upgrade Hive to 0.13.0 and 0.13.1. (jaehwa) Project: http://git-wip-us.apache.org/repos/asf/tajo/repo Commit: http://git-wip-us.apache.org/repos/asf/tajo/commit/4efb45b1 Tree: http://git-wip-us.apache.org/repos/asf/tajo/tree/4efb45b1 Diff: http://git-wip-us.apache.org/repos/asf/tajo/diff/4efb45b1 Branch: refs/heads/master Commit: 4efb45b1d84c08a471858441e698e316af04c51e Parents: 604eb32 Author: Jaehwa Jung Authored: Thu Sep 11 12:17:53 2014 +0900 Committer: Jaehwa Jung Committed: Thu Sep 11 12:17:53 2014 +0900 ---------------------------------------------------------------------- CHANGES | 2 + tajo-catalog/tajo-catalog-drivers/pom.xml | 18 + .../tajo-catalog-drivers/tajo-hcatalog/pom.xml | 345 +++++++++++++++++++ tajo-dist/src/main/bin/tajo | 2 +- .../configuration/catalog_configuration.rst | 2 +- 5 files changed, 367 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tajo/blob/4efb45b1/CHANGES ---------------------------------------------------------------------- diff --git a/CHANGES b/CHANGES index a36261b..171aa55 100644 --- a/CHANGES +++ b/CHANGES @@ -31,6 +31,8 @@ Release 0.9.0 - unreleased IMPROVEMENT + TAJO-1027: Upgrade Hive to 0.13.0 and 0.13.1. (jaehwa) + TAJO-1028: JDBC should support SET command.(Hyoungjun Kim) TAJO-937: Should use tajo.util.VersionInfo instead of http://git-wip-us.apache.org/repos/asf/tajo/blob/4efb45b1/tajo-catalog/tajo-catalog-drivers/pom.xml ---------------------------------------------------------------------- diff --git a/tajo-catalog/tajo-catalog-drivers/pom.xml b/tajo-catalog/tajo-catalog-drivers/pom.xml index 2cb05ee..001329d 100644 --- a/tajo-catalog/tajo-catalog-drivers/pom.xml +++ b/tajo-catalog/tajo-catalog-drivers/pom.xml @@ -69,6 +69,24 @@ tajo-hcatalog + + hcatalog-0.13.0 + + false + + + tajo-hcatalog + + + + hcatalog-0.13.1 + + false + + + tajo-hcatalog + + http://git-wip-us.apache.org/repos/asf/tajo/blob/4efb45b1/tajo-catalog/tajo-catalog-drivers/tajo-hcatalog/pom.xml ---------------------------------------------------------------------- diff --git a/tajo-catalog/tajo-catalog-drivers/tajo-hcatalog/pom.xml b/tajo-catalog/tajo-catalog-drivers/tajo-hcatalog/pom.xml index 02ea16b..0aed5b5 100644 --- a/tajo-catalog/tajo-catalog-drivers/tajo-hcatalog/pom.xml +++ b/tajo-catalog/tajo-catalog-drivers/tajo-hcatalog/pom.xml @@ -286,10 +286,190 @@ org.apache.hive.hcatalog hcatalog-core ${hive.version} + + + org.apache.hive + hive-cli + + + org.apache.hive + hive-common + + + org.apache.hive + hive-exec + + + org.apache.hive + hive-metastore + + + org.apache.hive + hive-serde + + + org.apache.hive + hive-service + + + org.apache.hive + hive-shims + + + com.jolbox + bonecp + + + + + com.twitter + parquet-hive-bundle + ${parquet.version} + + + + + hcatalog-0.13.0 + + false + + + 0.13.0 + 1.5.0 + 2.1.0 + + + + org.apache.hive + hive-exec + ${hive.version} + provided + + + org.apache.hive + hive-common + + + org.apache.hive + hive-contrib + + + org.apache.hive + hive-hbase-handler + + + org.apache.hive + hive-metastore + + + org.apache.hive + hive-serde + + + org.apache.hive + hive-shims + + + org.apache.hive + hive-testutils + + + org.apache.thrift + libfb303 + + + org.apache.thrift + libthrift + + + com.jolbox + bonecp + + + com.google.protobuf + protobuf-java + + + + + org.apache.hive + hive-metastore + ${hive.version} provided org.apache.hive + hive-common + + + org.apache.hive + hive-serde + + + org.apache.hive + hive-shimss + + + org.apache.thrift + libfb303 + + + org.apache.thrift + libthrift + + + com.jolbox + bonecp + + + + + org.apache.hive + hive-cli + ${hive.version} + provided + + + org.apache.hive + hive-common + + + org.apache.hive + hive-exec + + + org.apache.hive + hive-metastore + + + org.apache.hive + hive-serde + + + org.apache.hive + hive-service + + + org.apache.hive + hive-shims + + + com.jolbox + bonecp + + + jline + jline + + + + + org.apache.hive.hcatalog + hive-hcatalog-core + ${hive.version} + + + org.apache.hive hive-cli @@ -305,6 +485,136 @@ hive-metastore + com.google.guava + guava + + + org.codehaus.jackson + jackson-mapper-asl + + + + + com.twitter + parquet-hive-bundle + ${parquet.version} + + + + + hcatalog-0.13.1 + + false + + + 0.13.1 + 1.5.0 + 2.1.0 + + + + org.apache.hive + hive-exec + ${hive.version} + provided + + + org.apache.hive + hive-common + + + org.apache.hive + hive-contrib + + + org.apache.hive + hive-hbase-handler + + + org.apache.hive + hive-metastore + + + org.apache.hive + hive-serde + + + org.apache.hive + hive-shims + + + org.apache.hive + hive-testutils + + + org.apache.thrift + libfb303 + + + org.apache.thrift + libthrift + + + com.jolbox + bonecp + + + com.google.protobuf + protobuf-java + + + + + org.apache.hive + hive-metastore + ${hive.version} + provided + + + org.apache.hive + hive-common + + + org.apache.hive + hive-serde + + + org.apache.hive + hive-shimss + + + org.apache.thrift + libfb303 + + + org.apache.thrift + libthrift + + + com.jolbox + bonecp + + + + + org.apache.hive + hive-cli + ${hive.version} + provided + + + org.apache.hive + hive-common + + + org.apache.hive + hive-exec + + + org.apache.hive + hive-metastore + + org.apache.hive hive-serde @@ -320,6 +630,41 @@ com.jolbox bonecp + + jline + jline + + + + + org.apache.hive.hcatalog + hive-hcatalog-core + ${hive.version} + + + org.apache.hive + hive-cli + + + org.apache.hive + hive-common + + + org.apache.hive + hive-exec + + + org.apache.hive + hive-metastore + + + com.google.guava + guava + + + org.codehaus.jackson + jackson-mapper-asl + http://git-wip-us.apache.org/repos/asf/tajo/blob/4efb45b1/tajo-dist/src/main/bin/tajo ---------------------------------------------------------------------- diff --git a/tajo-dist/src/main/bin/tajo b/tajo-dist/src/main/bin/tajo index 3fc2ae0..4236d9b 100755 --- a/tajo-dist/src/main/bin/tajo +++ b/tajo-dist/src/main/bin/tajo @@ -248,7 +248,7 @@ if [ -d ${HIVE_LIB} ]; then CLASSPATH=${CLASSPATH}:$f; done - for f in $HIVE_HOME/hcatalog/share/hcatalog/hcatalog-core-*.jar; do + for f in $HIVE_HOME/hcatalog/share/hcatalog/*hcatalog-core-*.jar; do CLASSPATH=${CLASSPATH}:$f; done fi http://git-wip-us.apache.org/repos/asf/tajo/blob/4efb45b1/tajo-docs/src/main/sphinx/configuration/catalog_configuration.rst ---------------------------------------------------------------------- diff --git a/tajo-docs/src/main/sphinx/configuration/catalog_configuration.rst b/tajo-docs/src/main/sphinx/configuration/catalog_configuration.rst index 9b2404a..cdf7168 100644 --- a/tajo-docs/src/main/sphinx/configuration/catalog_configuration.rst +++ b/tajo-docs/src/main/sphinx/configuration/catalog_configuration.rst @@ -107,7 +107,7 @@ First, you must compile source code and get a binary archive as follows: $ mvn clean install -DskipTests -Pdist -Dtar -Phcatalog-0.1x.0 $ ls tajo-dist/target/tajo-x.y.z-SNAPSHOT.tar.gz -Currently Tajo supports only hive 0.12.0. If you enables HCatalogStore, you set the maven profile as ``-Phcatalog-0.12.0``. +Currently Tajo supports hive 0.12.0, hive 0.13.0, hive 0.13.1. If you enables HCatalogStore, you set the maven profile as ``-Phcatalog-0.12.0``. Second, you must set your hive home directory to HIVE_HOME variable in ``conf/tajo-env.sh`` with it as follows: