[ https://issues.apache.org/jira/browse/HIVE-8375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Navaneeth Mysore G updated HIVE-8375: ------------------------------------- Attachment: HIVE-AutoCreateSchema.patch > Create schema only if autoCreateSchema is set to true > ----------------------------------------------------- > > Key: HIVE-8375 > URL: https://issues.apache.org/jira/browse/HIVE-8375 > Project: Hive > Issue Type: Bug > Components: Metastore > Reporter: Navaneeth Mysore G > Attachments: HIVE-AutoCreateSchema.patch > > > I am using Mariadb as the metastore database and the schema is created > manually. Even when the property 'datanucleus.autoCreateSchema' is set to > 'false', HiveMetaStore tries to create it. Not sure, if this is a datanucleus > issue or hive's.. Attaching my fix for review (this was the only way I was > able to successfully deploy). > I was trying to fix the following exception, but realized the above when, > even with disabling autoCreateSchema, it was trying to create it. > Exception: > metastore.HiveMetaStore (HiveMetaStore.java:startMetaStore(5671)) - > javax.jdo.JDOUserException: Could not create "increment"/"table" > value-generation container `SEQUENCE_TABLE` since autoCreate flags do not > allow it. (... SKIPPED ..) -- This message was sent by Atlassian JIRA (v6.3.4#6332)