CDK-551. Use Hive's public API for metastore operations