Chaoyu Tang commented on HIVE-15074:

Should not we stop the validations if there are some schema version issues 
(incompatible, duplicated invalid entries, no version etc)? Otherwise, the 
following schema validations, especially those based on the version like 
validateSchemaTables, will become meaningless since the based schema is already 
not right. I can put the validateSchemaVersions as the first validation point. 
Any thought? 

> Schematool provides a way to detect invalid entries in VERSION table
> --------------------------------------------------------------------
>                 Key: HIVE-15074
>                 URL: https://issues.apache.org/jira/browse/HIVE-15074
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Metastore
>            Reporter: Yongzhi Chen
>            Assignee: Chaoyu Tang
>            Priority: Minor
>         Attachments: HIVE-15074.patch
> For some unknown reason, we see customer's HMS can not start because there 
> are multiple entries in their HMS VERSION table. Schematool should provide a 
> way to validate the HMS db and provide warning and fix options for this kind 
> of issues. 

This message was sent by Atlassian JIRA

Reply via email to