Revert "HIVE-18202: Automatically migrate hbase.table.name to hbase.mapreduce.hfileoutputformat.table.name for hbase-based table (Aihua Xu, reviewed by Naveen Gangam)"
This reverts commit d37b8026ed25b4150fd3782331e6800459d40d7a. Project: http://git-wip-us.apache.org/repos/asf/hive/repo Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/6b349b5f Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/6b349b5f Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/6b349b5f Branch: refs/heads/master Commit: 6b349b5f83cff54c4b6b04537227087b2b3d4a0d Parents: c14a46d Author: Aihua Xu <aihu...@apache.org> Authored: Fri Jan 26 13:45:51 2018 -0800 Committer: Aihua Xu <aihu...@apache.org> Committed: Fri Jan 26 13:45:51 2018 -0800 ---------------------------------------------------------------------- metastore/scripts/upgrade/derby/047-HIVE-18202.derby.sql | 6 ------ .../scripts/upgrade/derby/upgrade-2.3.0-to-3.0.0.derby.sql | 1 - metastore/scripts/upgrade/mssql/032-HIVE-18202.mssql.sql | 6 ------ .../scripts/upgrade/mssql/upgrade-2.3.0-to-3.0.0.mssql.sql | 1 - metastore/scripts/upgrade/mysql/047-HIVE-18202.mysql.sql | 6 ------ .../scripts/upgrade/mysql/upgrade-2.3.0-to-3.0.0.mysql.sql | 1 - metastore/scripts/upgrade/oracle/047-HIVE-18202-oracle.sql | 6 ------ .../scripts/upgrade/oracle/upgrade-2.3.0-to-3.0.0.oracle.sql | 1 - metastore/scripts/upgrade/postgres/046-HIVE-18202.postgres.sql | 6 ------ .../upgrade/postgres/upgrade-2.3.0-to-3.0.0.postgres.sql | 1 - 10 files changed, 35 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hive/blob/6b349b5f/metastore/scripts/upgrade/derby/047-HIVE-18202.derby.sql ---------------------------------------------------------------------- diff --git a/metastore/scripts/upgrade/derby/047-HIVE-18202.derby.sql b/metastore/scripts/upgrade/derby/047-HIVE-18202.derby.sql deleted file mode 100644 index 0fdc615..0000000 --- a/metastore/scripts/upgrade/derby/047-HIVE-18202.derby.sql +++ /dev/null @@ -1,6 +0,0 @@ -UPDATE TABLE_PARAMS - SET PARAM_KEY = 'hbase.mapreduce.hfileoutputformat.table.name' -WHERE - PARAM_KEY = 'hbase.table.name' -; - http://git-wip-us.apache.org/repos/asf/hive/blob/6b349b5f/metastore/scripts/upgrade/derby/upgrade-2.3.0-to-3.0.0.derby.sql ---------------------------------------------------------------------- diff --git a/metastore/scripts/upgrade/derby/upgrade-2.3.0-to-3.0.0.derby.sql b/metastore/scripts/upgrade/derby/upgrade-2.3.0-to-3.0.0.derby.sql index 4372498..3a11881 100644 --- a/metastore/scripts/upgrade/derby/upgrade-2.3.0-to-3.0.0.derby.sql +++ b/metastore/scripts/upgrade/derby/upgrade-2.3.0-to-3.0.0.derby.sql @@ -5,7 +5,6 @@ RUN '043-HIVE-16922.derby.sql'; RUN '044-HIVE-16997.derby.sql'; RUN '045-HIVE-16886.derby.sql'; RUN '046-HIVE-17566.derby.sql'; -RUN '047-HIVE-18202.derby.sql'; RUN '048-HIVE-14498.derby.sql'; RUN '049-HIVE-18489.derby.sql'; http://git-wip-us.apache.org/repos/asf/hive/blob/6b349b5f/metastore/scripts/upgrade/mssql/032-HIVE-18202.mssql.sql ---------------------------------------------------------------------- diff --git a/metastore/scripts/upgrade/mssql/032-HIVE-18202.mssql.sql b/metastore/scripts/upgrade/mssql/032-HIVE-18202.mssql.sql deleted file mode 100644 index 0fdc615..0000000 --- a/metastore/scripts/upgrade/mssql/032-HIVE-18202.mssql.sql +++ /dev/null @@ -1,6 +0,0 @@ -UPDATE TABLE_PARAMS - SET PARAM_KEY = 'hbase.mapreduce.hfileoutputformat.table.name' -WHERE - PARAM_KEY = 'hbase.table.name' -; - http://git-wip-us.apache.org/repos/asf/hive/blob/6b349b5f/metastore/scripts/upgrade/mssql/upgrade-2.3.0-to-3.0.0.mssql.sql ---------------------------------------------------------------------- diff --git a/metastore/scripts/upgrade/mssql/upgrade-2.3.0-to-3.0.0.mssql.sql b/metastore/scripts/upgrade/mssql/upgrade-2.3.0-to-3.0.0.mssql.sql index 52727f3..f5a260e 100644 --- a/metastore/scripts/upgrade/mssql/upgrade-2.3.0-to-3.0.0.mssql.sql +++ b/metastore/scripts/upgrade/mssql/upgrade-2.3.0-to-3.0.0.mssql.sql @@ -6,7 +6,6 @@ SELECT 'Upgrading MetaStore schema from 2.3.0 to 3.0.0' AS MESSAGE; :r 029-HIVE-16997.mssql.sql :r 030-HIVE-16886.mssql.sql :r 031-HIVE-17566.mssql.sql -:r 032-HIVE-18202.mssql.sql :r 033-HIVE-14498.mssql.sql :r 034-HIVE-18489.mssql.sql http://git-wip-us.apache.org/repos/asf/hive/blob/6b349b5f/metastore/scripts/upgrade/mysql/047-HIVE-18202.mysql.sql ---------------------------------------------------------------------- diff --git a/metastore/scripts/upgrade/mysql/047-HIVE-18202.mysql.sql b/metastore/scripts/upgrade/mysql/047-HIVE-18202.mysql.sql deleted file mode 100644 index 0fdc615..0000000 --- a/metastore/scripts/upgrade/mysql/047-HIVE-18202.mysql.sql +++ /dev/null @@ -1,6 +0,0 @@ -UPDATE TABLE_PARAMS - SET PARAM_KEY = 'hbase.mapreduce.hfileoutputformat.table.name' -WHERE - PARAM_KEY = 'hbase.table.name' -; - http://git-wip-us.apache.org/repos/asf/hive/blob/6b349b5f/metastore/scripts/upgrade/mysql/upgrade-2.3.0-to-3.0.0.mysql.sql ---------------------------------------------------------------------- diff --git a/metastore/scripts/upgrade/mysql/upgrade-2.3.0-to-3.0.0.mysql.sql b/metastore/scripts/upgrade/mysql/upgrade-2.3.0-to-3.0.0.mysql.sql index fb50db3..4446b62 100644 --- a/metastore/scripts/upgrade/mysql/upgrade-2.3.0-to-3.0.0.mysql.sql +++ b/metastore/scripts/upgrade/mysql/upgrade-2.3.0-to-3.0.0.mysql.sql @@ -6,7 +6,6 @@ SOURCE 043-HIVE-16922.mysql.sql; SOURCE 044-HIVE-16997.mysql.sql; SOURCE 045-HIVE-16886.mysql.sql; SOURCE 046-HIVE-17566.mysql.sql; -SOURCE 047-HIVE-18202.mysql.sql; SOURCE 048-HIVE-14498.mysql.sql; SOURCE 049-HIVE-18489.mysql.sql; http://git-wip-us.apache.org/repos/asf/hive/blob/6b349b5f/metastore/scripts/upgrade/oracle/047-HIVE-18202-oracle.sql ---------------------------------------------------------------------- diff --git a/metastore/scripts/upgrade/oracle/047-HIVE-18202-oracle.sql b/metastore/scripts/upgrade/oracle/047-HIVE-18202-oracle.sql deleted file mode 100644 index 0fdc615..0000000 --- a/metastore/scripts/upgrade/oracle/047-HIVE-18202-oracle.sql +++ /dev/null @@ -1,6 +0,0 @@ -UPDATE TABLE_PARAMS - SET PARAM_KEY = 'hbase.mapreduce.hfileoutputformat.table.name' -WHERE - PARAM_KEY = 'hbase.table.name' -; - http://git-wip-us.apache.org/repos/asf/hive/blob/6b349b5f/metastore/scripts/upgrade/oracle/upgrade-2.3.0-to-3.0.0.oracle.sql ---------------------------------------------------------------------- diff --git a/metastore/scripts/upgrade/oracle/upgrade-2.3.0-to-3.0.0.oracle.sql b/metastore/scripts/upgrade/oracle/upgrade-2.3.0-to-3.0.0.oracle.sql index 0eab90c..a4acb9e 100644 --- a/metastore/scripts/upgrade/oracle/upgrade-2.3.0-to-3.0.0.oracle.sql +++ b/metastore/scripts/upgrade/oracle/upgrade-2.3.0-to-3.0.0.oracle.sql @@ -6,7 +6,6 @@ SELECT 'Upgrading MetaStore schema from 2.3.0 to 3.0.0' AS Status from dual; @044-HIVE-16997.oracle.sql; @045-HIVE-16886.oracle.sql; @046-HIVE-17566.oracle.sql; -@047-HIVE-18202-oracle.sql; @048-HIVE-14498.oracle.sql; @049-HIVE-18489.oracle.sql; http://git-wip-us.apache.org/repos/asf/hive/blob/6b349b5f/metastore/scripts/upgrade/postgres/046-HIVE-18202.postgres.sql ---------------------------------------------------------------------- diff --git a/metastore/scripts/upgrade/postgres/046-HIVE-18202.postgres.sql b/metastore/scripts/upgrade/postgres/046-HIVE-18202.postgres.sql deleted file mode 100644 index 0fdc615..0000000 --- a/metastore/scripts/upgrade/postgres/046-HIVE-18202.postgres.sql +++ /dev/null @@ -1,6 +0,0 @@ -UPDATE TABLE_PARAMS - SET PARAM_KEY = 'hbase.mapreduce.hfileoutputformat.table.name' -WHERE - PARAM_KEY = 'hbase.table.name' -; - http://git-wip-us.apache.org/repos/asf/hive/blob/6b349b5f/metastore/scripts/upgrade/postgres/upgrade-2.3.0-to-3.0.0.postgres.sql ---------------------------------------------------------------------- diff --git a/metastore/scripts/upgrade/postgres/upgrade-2.3.0-to-3.0.0.postgres.sql b/metastore/scripts/upgrade/postgres/upgrade-2.3.0-to-3.0.0.postgres.sql index 674f5a0..44bee33 100644 --- a/metastore/scripts/upgrade/postgres/upgrade-2.3.0-to-3.0.0.postgres.sql +++ b/metastore/scripts/upgrade/postgres/upgrade-2.3.0-to-3.0.0.postgres.sql @@ -6,7 +6,6 @@ SELECT 'Upgrading MetaStore schema from 2.3.0 to 3.0.0'; \i 043-HIVE-16997.postgres.sql; \i 044-HIVE-16886.postgres.sql; \i 045-HIVE-17566.postgres.sql; -\i 046-HIVE-18202.postgres.sql; \i 047-HIVE-14498.postgres.sql; \i 048-HIVE-18489.postgres.sql;