Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-1678

Incorrect documentation for HBase sink

    Details

    • Type: Documentation
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.5.0
    • Component/s: Docs
    • Labels:

      Description

      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:

      # 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
      

        Attachments

          Activity

            People

            • Assignee:
              paliwalashish Ashish Paliwal
              Reporter:
              samir.eljazovic Samir Eljazovic
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: