You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "jiraposter@reviews.apache.org (JIRA)" <ji...@apache.org> on 2011/08/11 01:05:29 UTC

[jira] [Commented] (HIVE-2366) Metastore upgrade scripts for HIVE-2246 do not migrate indexes nor rename the old COLUMNS table

    [ https://issues.apache.org/jira/browse/HIVE-2366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13082743#comment-13082743 ] 

jiraposter@reviews.apache.org commented on HIVE-2366:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/1460/
-----------------------------------------------------------

Review request for hive, Ning Zhang and Paul Yang.


Summary
-------

The upgrade scripts for the hive metastore in HIVE-2246 do not upgrade the indexes. They also need to rename the old COLUMNS table after migration so that old clients will not accidentally access the COLUMNS table.


This addresses bug HIVE-2366.
    https://issues.apache.org/jira/browse/HIVE-2366


Diffs
-----

  trunk/metastore/scripts/upgrade/derby/008-HIVE-2246.derby.sql 1156396 
  trunk/metastore/scripts/upgrade/derby/008-REVERT-HIVE-2246.derby.sql 1156396 
  trunk/metastore/scripts/upgrade/mysql/008-HIVE-2246.mysql.sql 1156396 

Diff: https://reviews.apache.org/r/1460/diff


Testing
-------

Tested db migration by hand


Thanks,

Sohan



> Metastore upgrade scripts for HIVE-2246 do not migrate indexes nor rename the old COLUMNS table
> -----------------------------------------------------------------------------------------------
>
>                 Key: HIVE-2366
>                 URL: https://issues.apache.org/jira/browse/HIVE-2366
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>            Reporter: Sohan Jain
>            Assignee: Sohan Jain
>         Attachments: HIVE-2366.1.patch
>
>
> The upgrade scripts for the hive metastore in HIVE-2246 do not upgrade the indexes.  They also need to rename the old COLUMNS table after migration so that old clients will not accidentally access the COLUMNS table.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira