[
https://issues.apache.org/jira/browse/HIVE-12927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15133294#comment-15133294
]
Alan Gates commented on HIVE-12927:
-----------------------------------
See comments on HIVE-12892 on why increment won't work in that case. In this
case where I'm explicitly circumventing the transaction management it would be
viable. Is it better than checkAndPut? I don't care which we use here.
> HBase metastore: sequences are not safe
> ---------------------------------------
>
> Key: HIVE-12927
> URL: https://issues.apache.org/jira/browse/HIVE-12927
> Project: Hive
> Issue Type: Bug
> Affects Versions: 2.0.0
> Reporter: Sergey Shelukhin
> Assignee: Alan Gates
> Priority: Critical
> Attachments: HIVE-12927.patch
>
>
> {noformat}
> long getNextSequence(byte[] sequence) throws IOException {
> {noformat}
> Is not safe in presence of any concurrency. It should use HBase increment API.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)