Samir Eljazovic created FLUME-1678:
--------------------------------------

             Summary: Incorrect documentation for HBase sink
                 Key: FLUME-1678
                 URL: https://issues.apache.org/jira/browse/FLUME-1678
             Project: Flume
          Issue Type: Bug
          Components: Docs
    Affects Versions: v1.2.0
            Reporter: Samir Eljazovic
            Priority: Minor


Description of sink type for HBase sink in documentation is wrong. It should be 
*org.apache.flume.sink.hbase.HBaseSink* instead of 
*org.apache.flume.sink.HBaseSink*.

Also, example configuration is missing serializer and column attributes to make 
it functional.

Here are the properties I had to add to make it work:
{code}
# HBase
agent.sinks.hbase-sink-1.channel = mem-channel-2
agent.sinks.hbase-sink-1.type = org.apache.flume.sink.hbase.HBaseSink
agent.sinks.hbase-sink-1.table = flume_data
agent.sinks.hbase-sink-1.columnFamily = events
agent.sinks.hbase-sink-1.batchSize = 100

# Missing properties in example
agent.sinks.hbase-sink-1.column = value
agent.sinks.hbase-sink-1.serializer = 
org.apache.flume.sink.hbase.SimpleHbaseEventSerializer
agent.sinks.hbase-sink-1.serializer.payloadColumn = payload
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to