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

Thejas M Nair commented on HIVE-7130:
-------------------------------------

Also after upgrade with schematool, the command fails if you turn on 
hive.metastore.schema.verification
{code}
bin/hive -hiveconf hive.metastore.schema.verification=true
..
..
Caused by: MetaException(message:Hive Schema version 0.13.1 does not match 
metastore's schema version 0.13.0 Metastore is not upgraded or corrupt)
        at 
org.apache.hadoop.hive.metastore.ObjectStore.checkSchema(ObjectStore.java:6306)
        at 
org.apache.hadoop.hive.metastore.ObjectStore.verifySchema(ObjectStore.java:6277)
{code}

> schematool is broken for minor version upgrades (eg 0.13.x)
> -----------------------------------------------------------
>
>                 Key: HIVE-7130
>                 URL: https://issues.apache.org/jira/browse/HIVE-7130
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.13.1
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>
> The schema initialization fails with schema tool in 0.13.1, with the message 
> that "Unknown version specified for initialization: 0.13.1".
> The upgrade with schema tool works (ie it runs the upgrade scripts),
> but then errors out at the end, when it finds that the version in
> metastore is 0.13.0 (not 0.13.1).



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to