impala-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
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/ 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 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).

- Ran an exhaustive private Jenkins build that passed.

Change-Id: I9ea3269c1f95f76d8c02b76a5dea3ca3aa324b70
Reviewed-by: Lars Volker <>
Tested-by: Impala Public Jenkins


Branch: refs/heads/master
Commit: ce3157279233b181021b01a9931758dfcf3d445e
Parents: f2cb819
Author: Thomas Tauber-Marshall <>
Authored: Fri Jun 2 17:43:02 2017 -0700
Committer: Impala Public Jenkins <>
Committed: Mon Jun 5 21:09:16 2017 +0000

 bin/ | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/ b/bin/
index 8d695a4..a59d6f7 100755
--- a/bin/
+++ b/bin/
@@ -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"

View raw message