[
https://issues.apache.org/jira/browse/HIVE-5181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13775990#comment-13775990
]
Prasad Mujumdar commented on HIVE-5181:
---------------------------------------
I was trying to be more cautious :) but, yes the change can be limited to
commit and rollback only.
> RetryingRawStore should not retry on logical failures (e.g. from commit)
> ------------------------------------------------------------------------
>
> Key: HIVE-5181
> URL: https://issues.apache.org/jira/browse/HIVE-5181
> Project: Hive
> Issue Type: Bug
> Reporter: Sergey Shelukhin
> Assignee: Prasad Mujumdar
> Priority: Minor
> Attachments: HIVE-5181.1.patch
>
>
> RetryingRawStore retries calls. Some method (e.g. drop_table_core in
> HiveMetaStore) explicitly call openTransaction and commitTransaction on
> RawStore.
> When the commit call fails due to some real issue, it is retried, and instead
> of a real cause for failure one gets some bogus exception about transaction
> open count.
> I doesn't make sense to retry logical errors, especially not from
> commitTransaction.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira