Thejas M Nair created HIVE-12261: ------------------------------------ Summary: schematool version info exit status should depend on compatibility, not equality Key: HIVE-12261 URL: https://issues.apache.org/jira/browse/HIVE-12261 Project: Hive Issue Type: Bug Components: Metastore Affects Versions: 1.3.0, 2.0.0 Reporter: Thejas M Nair Assignee: Thejas M Nair
Newer versions of metastore schema are compatible with older versions of hive, as only new tables or columns are added with additional information. HIVE-11613 added a check in hive schematool -info command to see if schema version is equal. However, the state where db schema version is ahead of hive software version is often seen when a 'rolling upgrade' or 'rolling downgrade' is happening. This is a state where hive is functional and returning non zero status for it is misleading. -- This message was sent by Atlassian JIRA (v6.3.4#6332)