Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.3.0, 2.0.0
Description
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.
Attachments
Attachments
Issue Links
- is related to
-
HIVE-11613 schematool should return non zero exit status for info command, if state is inconsistent
- Closed
- relates to
-
HIVE-14080 hive.metastore.schema.verification should check for schema compatiblity
- Closed
- links to