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

Alan Gates commented on HIVE-12927:
-----------------------------------

My original plan for this was to make use the transaction server that we'll 
need to add for HBase metastore anyway (most likely Omid).  But given that we 
see a lot of contention on the sequences in the RDBMS world in ACID it might 
make sense to rely on HBase simpler check and put rather than the transaction 
service here.

> HBase metastore: sequences are not safe
> ---------------------------------------
>
>                 Key: HIVE-12927
>                 URL: https://issues.apache.org/jira/browse/HIVE-12927
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Sergey Shelukhin
>            Priority: Critical
>
> {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)

Reply via email to