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

Eugene Koifman commented on HIVE-11983:
---------------------------------------

also, in createRecordUpdater()
{noformat}
-                      .statementId(-1)                                         
                                                                                
-                      .finalDestination(partitionPath));   
{noformat}

is removed.  This is wrong - these lines must be there.

> Hive streaming API uses incorrect logic to assign buckets to incoming records
> -----------------------------------------------------------------------------
>
>                 Key: HIVE-11983
>                 URL: https://issues.apache.org/jira/browse/HIVE-11983
>             Project: Hive
>          Issue Type: Bug
>          Components: HCatalog, Transactions
>    Affects Versions: 1.2.1
>            Reporter: Roshan Naik
>            Assignee: Roshan Naik
>              Labels: streaming, streaming_api
>         Attachments: HIVE-11983.3.patch, HIVE-11983.4.patch, HIVE-11983.patch
>
>
> The Streaming API tries to distribute records evenly into buckets. 
> All records in every Transaction that is part of TransactionBatch goes to the 
> same bucket and a new bucket number is chose for each TransactionBatch.
> Fix: API needs to hash each record to determine which bucket it belongs to. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to