hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhbut...@apache.org
Subject svn commit: r1585762 - in /hive/trunk: metastore/scripts/upgrade/derby/ metastore/scripts/upgrade/mysql/ metastore/scripts/upgrade/oracle/ metastore/scripts/upgrade/postgres/ ql/src/java/parquet/
Date Tue, 08 Apr 2014 15:41:40 GMT
Author: rhbutani
Date: Tue Apr  8 15:41:40 2014
New Revision: 1585762

URL: http://svn.apache.org/r1585762
Log:
HIVE-6757 Remove deprecated parquet classes from outside of org.apache package (Owen O'Malley
via Xufeu Zhang)

Added:
    hive/trunk/metastore/scripts/upgrade/derby/018-HIVE-6757.derby.sql
    hive/trunk/metastore/scripts/upgrade/mysql/018-HIVE-6757.mysql.sql
    hive/trunk/metastore/scripts/upgrade/oracle/018-HIVE-6757.oracle.sql
    hive/trunk/metastore/scripts/upgrade/postgres/018-HIVE-6757.postgres.sql
Removed:
    hive/trunk/ql/src/java/parquet/
Modified:
    hive/trunk/metastore/scripts/upgrade/derby/upgrade-0.12.0-to-0.13.0.derby.sql
    hive/trunk/metastore/scripts/upgrade/mysql/upgrade-0.12.0-to-0.13.0.mysql.sql
    hive/trunk/metastore/scripts/upgrade/oracle/upgrade-0.12.0-to-0.13.0.oracle.sql
    hive/trunk/metastore/scripts/upgrade/postgres/upgrade-0.12.0-to-0.13.0.postgres.sql

Added: hive/trunk/metastore/scripts/upgrade/derby/018-HIVE-6757.derby.sql
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/scripts/upgrade/derby/018-HIVE-6757.derby.sql?rev=1585762&view=auto
==============================================================================
--- hive/trunk/metastore/scripts/upgrade/derby/018-HIVE-6757.derby.sql (added)
+++ hive/trunk/metastore/scripts/upgrade/derby/018-HIVE-6757.derby.sql Tue Apr  8 15:41:40
2014
@@ -0,0 +1,19 @@
+UPDATE SDS
+  SET INPUT_FORMAT = 'org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat'
+WHERE
+  INPUT_FORMAT= 'parquet.hive.DeprecatedParquetInputFormat' or
+  INPUT_FORMAT = 'parquet.hive.MapredParquetInputFormat'
+;
+
+UPDATE SDS
+  SET OUTPUT_FORMAT = 'org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat'
+WHERE
+  OUTPUT_FORMAT = 'parquet.hive.DeprecatedParquetOutputFormat'  or
+  OUTPUT_FORMAT = 'parquet.hive.MapredParquetOutputFormat'
+;
+
+UPDATE SERDES
+  SET SLIB='org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe'
+WHERE
+  SLIB = 'parquet.hive.serde.ParquetHiveSerDe'
+;
\ No newline at end of file

Modified: hive/trunk/metastore/scripts/upgrade/derby/upgrade-0.12.0-to-0.13.0.derby.sql
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/scripts/upgrade/derby/upgrade-0.12.0-to-0.13.0.derby.sql?rev=1585762&r1=1585761&r2=1585762&view=diff
==============================================================================
--- hive/trunk/metastore/scripts/upgrade/derby/upgrade-0.12.0-to-0.13.0.derby.sql (original)
+++ hive/trunk/metastore/scripts/upgrade/derby/upgrade-0.12.0-to-0.13.0.derby.sql Tue Apr
 8 15:41:40 2014
@@ -2,5 +2,6 @@
 RUN 'hive-txn-schema-0.13.0.derby.sql';
 RUN '016-HIVE-6386.derby.sql';
 RUN '017-HIVE-6458.derby.sql';
+RUN '018-HIVE-6757.derby.sql';
 
 UPDATE "APP".VERSION SET SCHEMA_VERSION='0.13.0', VERSION_COMMENT='Hive release version 0.13.0'
where VER_ID=1;

Added: hive/trunk/metastore/scripts/upgrade/mysql/018-HIVE-6757.mysql.sql
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/scripts/upgrade/mysql/018-HIVE-6757.mysql.sql?rev=1585762&view=auto
==============================================================================
--- hive/trunk/metastore/scripts/upgrade/mysql/018-HIVE-6757.mysql.sql (added)
+++ hive/trunk/metastore/scripts/upgrade/mysql/018-HIVE-6757.mysql.sql Tue Apr  8 15:41:40
2014
@@ -0,0 +1,21 @@
+SELECT '<HIVE-6757 Remove deprecated parquet classes from outside of org.apache package>'
AS ' ';
+
+UPDATE SDS
+  SET INPUT_FORMAT = 'org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat'
+WHERE
+  INPUT_FORMAT= 'parquet.hive.DeprecatedParquetInputFormat' or
+  INPUT_FORMAT = 'parquet.hive.MapredParquetInputFormat'
+;
+
+UPDATE SDS
+  SET OUTPUT_FORMAT = 'org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat'
+WHERE
+  OUTPUT_FORMAT = 'parquet.hive.DeprecatedParquetOutputFormat'  or
+  OUTPUT_FORMAT = 'parquet.hive.MapredParquetOutputFormat'
+;
+
+UPDATE SERDES
+  SET SLIB='org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe'
+WHERE
+  SLIB = 'parquet.hive.serde.ParquetHiveSerDe'
+;
\ No newline at end of file

Modified: hive/trunk/metastore/scripts/upgrade/mysql/upgrade-0.12.0-to-0.13.0.mysql.sql
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/scripts/upgrade/mysql/upgrade-0.12.0-to-0.13.0.mysql.sql?rev=1585762&r1=1585761&r2=1585762&view=diff
==============================================================================
--- hive/trunk/metastore/scripts/upgrade/mysql/upgrade-0.12.0-to-0.13.0.mysql.sql (original)
+++ hive/trunk/metastore/scripts/upgrade/mysql/upgrade-0.12.0-to-0.13.0.mysql.sql Tue Apr
 8 15:41:40 2014
@@ -3,6 +3,7 @@ SELECT 'Upgrading MetaStore schema from 
 SOURCE 015-HIVE-5700.mysql.sql;
 SOURCE 016-HIVE-6386.mysql.sql;
 SOURCE 017-HIVE-6458.mysql.sql;
+SOURCE 018-HIVE-6757.mysql.sql;
 SOURCE hive-txn-schema-0.13.0.mysql.sql;
 
 UPDATE VERSION SET SCHEMA_VERSION='0.13.0', VERSION_COMMENT='Hive release version 0.13.0'
where VER_ID=1;

Added: hive/trunk/metastore/scripts/upgrade/oracle/018-HIVE-6757.oracle.sql
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/scripts/upgrade/oracle/018-HIVE-6757.oracle.sql?rev=1585762&view=auto
==============================================================================
--- hive/trunk/metastore/scripts/upgrade/oracle/018-HIVE-6757.oracle.sql (added)
+++ hive/trunk/metastore/scripts/upgrade/oracle/018-HIVE-6757.oracle.sql Tue Apr  8 15:41:40
2014
@@ -0,0 +1,19 @@
+UPDATE SDS
+  SET INPUT_FORMAT = 'org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat'
+WHERE
+  INPUT_FORMAT= 'parquet.hive.DeprecatedParquetInputFormat' or
+  INPUT_FORMAT = 'parquet.hive.MapredParquetInputFormat'
+;
+
+UPDATE SDS
+  SET OUTPUT_FORMAT = 'org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat'
+WHERE
+  OUTPUT_FORMAT = 'parquet.hive.DeprecatedParquetOutputFormat'  or
+  OUTPUT_FORMAT = 'parquet.hive.MapredParquetOutputFormat'
+;
+
+UPDATE SERDES
+  SET SLIB='org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe'
+WHERE
+  SLIB = 'parquet.hive.serde.ParquetHiveSerDe'
+;
\ No newline at end of file

Modified: hive/trunk/metastore/scripts/upgrade/oracle/upgrade-0.12.0-to-0.13.0.oracle.sql
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/scripts/upgrade/oracle/upgrade-0.12.0-to-0.13.0.oracle.sql?rev=1585762&r1=1585761&r2=1585762&view=diff
==============================================================================
--- hive/trunk/metastore/scripts/upgrade/oracle/upgrade-0.12.0-to-0.13.0.oracle.sql (original)
+++ hive/trunk/metastore/scripts/upgrade/oracle/upgrade-0.12.0-to-0.13.0.oracle.sql Tue Apr
 8 15:41:40 2014
@@ -3,6 +3,7 @@ SELECT 'Upgrading MetaStore schema from 
 @015-HIVE-5700.oracle.sql;
 @016-HIVE-6386.oracle.sql;
 @017-HIVE-6458.oracle.sql;
+@018-HIVE-6757.oracle.sql;
 @hive-txn-schema-0.13.0.oracle.sql;
 
 UPDATE VERSION SET SCHEMA_VERSION='0.13.0', VERSION_COMMENT='Hive release version 0.13.0'
where VER_ID=1;

Added: hive/trunk/metastore/scripts/upgrade/postgres/018-HIVE-6757.postgres.sql
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/scripts/upgrade/postgres/018-HIVE-6757.postgres.sql?rev=1585762&view=auto
==============================================================================
--- hive/trunk/metastore/scripts/upgrade/postgres/018-HIVE-6757.postgres.sql (added)
+++ hive/trunk/metastore/scripts/upgrade/postgres/018-HIVE-6757.postgres.sql Tue Apr  8 15:41:40
2014
@@ -0,0 +1,21 @@
+SELECT '< HIVE-6757 Remove deprecated parquet classes from outside of org.apache package
>';
+
+UPDATE SDS
+  SET INPUT_FORMAT = 'org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat'
+WHERE
+  INPUT_FORMAT= 'parquet.hive.DeprecatedParquetInputFormat' or
+  INPUT_FORMAT = 'parquet.hive.MapredParquetInputFormat'
+;
+
+UPDATE SDS
+  SET OUTPUT_FORMAT = 'org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat'
+WHERE
+  OUTPUT_FORMAT = 'parquet.hive.DeprecatedParquetOutputFormat'  or
+  OUTPUT_FORMAT = 'parquet.hive.MapredParquetOutputFormat'
+;
+
+UPDATE SERDES
+  SET SLIB='org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe'
+WHERE
+  SLIB = 'parquet.hive.serde.ParquetHiveSerDe'
+;
\ No newline at end of file

Modified: hive/trunk/metastore/scripts/upgrade/postgres/upgrade-0.12.0-to-0.13.0.postgres.sql
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/scripts/upgrade/postgres/upgrade-0.12.0-to-0.13.0.postgres.sql?rev=1585762&r1=1585761&r2=1585762&view=diff
==============================================================================
--- hive/trunk/metastore/scripts/upgrade/postgres/upgrade-0.12.0-to-0.13.0.postgres.sql (original)
+++ hive/trunk/metastore/scripts/upgrade/postgres/upgrade-0.12.0-to-0.13.0.postgres.sql Tue
Apr  8 15:41:40 2014
@@ -3,6 +3,7 @@ SELECT 'Upgrading MetaStore schema from 
 \i 015-HIVE-5700.postgres.sql;
 \i 016-HIVE-6386.postgres.sql;
 \i 017-HIVE-6458.postgres.sql;
+\i 018-HIVE-6757.postgres.sql;
 \i hive-txn-schema-0.13.0.postgres.sql;
 
 UPDATE "VERSION" SET "SCHEMA_VERSION"='0.13.0', "VERSION_COMMENT"='Hive release version 0.13.0'
where "VER_ID"=1;



Mime
View raw message