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

Incorrect documentation for HBase sink

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Documentation
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.2.0
    • 1.5.0
    • Docs

    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment