Hive
create table
operation fails whendatanucleus.autoCreateSchema
is set totrue
.Problem: In Hive 0.9, setting hive.metastore.local = true in hive-site.xml meant that the embedded metastore would ALWAYS be used regardless of the setting of hive.metastore.uris. But in Hive 0.10, hive.metastore.local is ignored when hive.metastore.uris is set (https://issues.apache.org/jira/browse/HIVE-2585). When upgrading from HDP 1.0 or HDP 1.1 to HDP 1.2.*, Hive is upgraded from 0.9 to 0.10. Therefore, the embedded metastore may no longer be used after upgrading without adjusting the hive-site.xml settings.
Workaround: To continue to use the embedded metastore after upgrading, clear the hive.metastore.uris setting in hive-site.xml.