hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Shelukhin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-12927) HBase metastore: sequences are not safe
Date Thu, 04 Feb 2016 02:21:39 GMT

    [ https://issues.apache.org/jira/browse/HIVE-12927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15131586#comment-15131586
] 

Sergey Shelukhin commented on HIVE-12927:
-----------------------------------------

Hmm. Can increment API be used in the txn managers? that is separate from checkAndPut. See
the patch at HBASE-12892

> 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)

Mime
View raw message