[
https://issues.apache.org/jira/browse/HIVE-17840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16213096#comment-16213096
]
Alexander Kolbasov commented on HIVE-17840:
-------------------------------------------
The exception is consumed in SentryStore.addNotificationEvent():
{code}
try {
this.openTransaction();
this.lockForUpdate();
...
commited = this.commitTransaction();
} catch (Exception var11) {
LOG.error("couldnot get lock for update", var11); // Here
} finally {
this.rollbackAndCleanup(commited, (Query)query);
}
{code}
> HiveMetaStore eats exception if transactionalListeners.notifyEvent fail
> -----------------------------------------------------------------------
>
> Key: HIVE-17840
> URL: https://issues.apache.org/jira/browse/HIVE-17840
> Project: Hive
> Issue Type: Bug
> Components: Metastore
> Reporter: Daniel Dai
> Assignee: Daniel Dai
>
> For example, in add_partitions_core, if there's exception in
> MetaStoreListenerNotifier.notifyEvent(transactionalListeners,....),
> transaction rollback but no exception thrown. Client will assume add
> partition is successful and take a positive path.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)