impala-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From he...@apache.org
Subject [1/5] incubator-impala git commit: IMPALA-5426: Update Hive schema script to 1.1.0
Date Tue, 06 Jun 2017 02:32:11 GMT
Repository: incubator-impala
Updated Branches:
  refs/heads/master f2cb8199d -> f0065d376


IMPALA-5426: Update Hive schema script to 1.1.0

A recent update to Hive changed its schema, which is causing
the metastore not to come up when run against the latest version
of Hive as we've hard coded the Hive schema script version in
bin/create-test-configuration.sh to an old version.

This patch updates the version to the latest. The schema script
is included in Hive in the toolchain and the new version will
already be present.

By itself, this patch does not actually change the Hive schema
by default as the version we usually build against doesn't have
the change. A following patch will update impala-config.sh to pull
in the latest version of Hive.

In the long run, we should switch to using Hive's schema tool,
which can do this for us automatically (IMPALA-5430).

Testing:
- Ran an exhaustive private Jenkins build that passed.

Change-Id: I9ea3269c1f95f76d8c02b76a5dea3ca3aa324b70
Reviewed-on: http://gerrit.cloudera.org:8080/7072
Reviewed-by: Lars Volker <lv@cloudera.com>
Tested-by: Impala Public Jenkins


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

Branch: refs/heads/master
Commit: ce3157279233b181021b01a9931758dfcf3d445e
Parents: f2cb819
Author: Thomas Tauber-Marshall <tmarshall@cloudera.com>
Authored: Fri Jun 2 17:43:02 2017 -0700
Committer: Impala Public Jenkins <impala-public-jenkins@gerrit.cloudera.org>
Committed: Mon Jun 5 21:09:16 2017 +0000

----------------------------------------------------------------------
 bin/create-test-configuration.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/ce315727/bin/create-test-configuration.sh
----------------------------------------------------------------------
diff --git a/bin/create-test-configuration.sh b/bin/create-test-configuration.sh
index 8d695a4..a59d6f7 100755
--- a/bin/create-test-configuration.sh
+++ b/bin/create-test-configuration.sh
@@ -93,7 +93,7 @@ if [ $CREATE_METASTORE -eq 1 ]; then
   createdb -U hiveuser ${METASTORE_DB}
 
   psql -q -U hiveuser -d ${METASTORE_DB} \
-       -f ${HIVE_HOME}/scripts/metastore/upgrade/postgres/hive-schema-0.13.0.postgres.sql
+       -f ${HIVE_HOME}/scripts/metastore/upgrade/postgres/hive-schema-1.1.0.postgres.sql
   # Increase the size limit of PARAM_VALUE from SERDE_PARAMS table to be able to create
   # HBase tables with large number of columns.
   echo "alter table \"SERDE_PARAMS\" alter column \"PARAM_VALUE\" type character varying"
\


Mime
View raw message