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

Hari Shreedharan commented on FLUME-1252:
-----------------------------------------

Sample config:

agent.sources = src1
agent.sinks = sink1
agent.channels = ch1

agent.sources.src1.type = seq

agent.sources.src1.channels = ch1
agent.sinks.sink1.type = org.apache.flume.sink.hbase.AsyncHBaseSink
agent.sinks.sink1.channel = ch1
agent.sinks.sink1.batchSize = 1000
agent.sinks.sink1.table = test
agent.sinks.sink1.columnFamily = colfam
agent.sinks.sink1.serializer = 
org.apache.flume.sink.hbase.SimpleAsyncHbaseEventSerializer
agent.sinks.sink1.serializer.payloadColumn = pcol
agent.sinks.sink1.serializer.incrementColumn = icol
agent.channels.ch1.type=memory
agent.channels.ch1.capacity =1000
agent.channels.ch1.transactionCapacity = 1000
                
> Asynchronous HBase Sink
> -----------------------
>
>                 Key: FLUME-1252
>                 URL: https://issues.apache.org/jira/browse/FLUME-1252
>             Project: Flume
>          Issue Type: New Feature
>          Components: Sinks+Sources
>            Reporter: Otis Gospodnetic
>            Assignee: Hari Shreedharan
>             Fix For: v1.2.0
>
>         Attachments: FLUME-1252.patch
>
>
> The current HBase sink is synchronous/blocking.  Asynchbase HBase client 
> outperforms HTable.  It would be nice to have an HBase sink that uses 
> asynchbase.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to