You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Hari Shreedharan (JIRA)" <ji...@apache.org> on 2014/03/02 05:53:20 UTC
[jira] [Commented] (FLUME-2338) Support coalescing increments in
HBaseSink
[ https://issues.apache.org/jira/browse/FLUME-2338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13917286#comment-13917286 ]
Hari Shreedharan commented on FLUME-2338:
-----------------------------------------
Mike,
This looks good. This unfortunately is not compatible with HBase 0.96.x. In the HBase 96 branch, the method to get the family map is:
getFamilyMapOfLongs()
(https://github.com/apache/hbase/blob/0.96/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Increment.java#L168 )
We probably should use reflection to call the correct method, but the getFamilyMapOfLongs() looks like an expensive operation though. I am not sure if there is a way around it though.
> Support coalescing increments in HBaseSink
> ------------------------------------------
>
> Key: FLUME-2338
> URL: https://issues.apache.org/jira/browse/FLUME-2338
> Project: Flume
> Issue Type: Bug
> Components: Sinks+Sources
> Reporter: Mike Percy
> Assignee: Mike Percy
> Attachments: FLUME-2338.patch
>
>
> Support coalescing increments in HBaseSink
> If a batch has multiple increments to the same row/column, these can be coalesced into a single HBase RPC call.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)