Description
Following tests are failing consistently and are reproducible on master:
- testVersionMatching
- testMetastoreVersion
I tried debugging it and found that ObjectStore.getMSSchemaVersion() throws an exception No matching version found.
To fetch schema version this method executes
SELECT FROM org.apache.hadoop.hive.metastore.model.MVersionTable
but for whatever reason execution returns empty result set resulting in the exception. Both test failures are due to this exception. I tried debugging the query execution but didn't really go nowhere with it. I suspect this could be due to recent metastore changes. I tried reproducing this outside test but with no success.