You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Sergey Shelukhin (JIRA)" <ji...@apache.org> on 2016/02/04 03:21:39 UTC
[jira] [Commented] (HIVE-12927) HBase metastore: sequences are not
safe
[ 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)