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

HDFSCompressedDataStream should support appendBatch

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 1.5.0
    • None
    • Sinks+Sources
    • None

    Description

      compressing events in batch is much more efficient than compressing one by one.
      I set hdfs.batchSize to 200000, when I use appendBatch() in BucketWriter, the append operation cost less than 1 seconds, while one by one might cost 10 seconds.

      Attachments

        1. FLUME-2352.patch
          12 kB
          chenshangan

        Activity

          People

            chenshangan521@163.com chenshangan
            chenshangan521@163.com chenshangan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: