You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by sp...@apache.org on 2016/10/26 15:28:52 UTC

hive git commit: HIVE-15070: HIVE-13062 causes the HMS schema upgrade tests to not work (Naveen Gangman, reviewed by Sergio Pena)

Repository: hive
Updated Branches:
  refs/heads/master 41fbe7bb7 -> b69205b79


HIVE-15070: HIVE-13062 causes the HMS schema upgrade tests to not work (Naveen Gangman, reviewed by Sergio Pena)


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

Branch: refs/heads/master
Commit: b69205b795d29afd839ebebc5d35da5a6a20af49
Parents: 41fbe7b
Author: Sergio Pena <se...@cloudera.com>
Authored: Wed Oct 26 10:28:26 2016 -0500
Committer: Sergio Pena <se...@cloudera.com>
Committed: Wed Oct 26 10:28:26 2016 -0500

----------------------------------------------------------------------
 testutils/metastore/metastore-upgrade-test.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/b69205b7/testutils/metastore/metastore-upgrade-test.sh
----------------------------------------------------------------------
diff --git a/testutils/metastore/metastore-upgrade-test.sh b/testutils/metastore/metastore-upgrade-test.sh
index 3bbb8a5..66fb766 100644
--- a/testutils/metastore/metastore-upgrade-test.sh
+++ b/testutils/metastore/metastore-upgrade-test.sh
@@ -121,7 +121,7 @@ fi
 begin_upgrade_test="false"
 while read script
 do
-	if [ $begin_upgrade_test = "true" ] || echo upgrade-$name | grep "upgrade-$VERSION_BASE"; then
+	if [ $begin_upgrade_test = "true" ] || echo upgrade-$script | grep "upgrade-$VERSION_BASE"; then
 		begin_upgrade_test="true"
 		if ! execute_test $HMS_UPGRADE_DIR/$DB_SERVER/upgrade-$script.$DB_SERVER.sql; then
 			echo "Error: Cannot execute SQL file: $HMS_UPGRADE_DIR/$DB_SERVER/upgrade-$script.$DB_SERVER.sql"