[ https://issues.apache.org/jira/browse/HIVE-15074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15703362#comment-15703362 ]
Naveen Gangam commented on HIVE-15074: -------------------------------------- Functionally, it looks good to me. Just for semantics to make it consistent with other verify* calls, do we want to make it return a boolean to indicate success/failure instead of throwing an exception? maybe overload {{verifySchemaVersion()}} that catches the exception and returns a boolean? I will defer to [~aihuaxu] for the final call on this. > 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 (v6.3.4#6332)