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

Would be nice if HDFS Sink would automatically choose best writableFormat based on fileType

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.0.0, 1.1.0
    • 1.2.0
    • Sinks+Sources
    • None

    Description

      Currently user can specify both file type (SequenceFile, DataStream, ...) and writable format (Text ~ append new line character, Writable ~ serialize as is) of HDFS sink output file. Both properties have default values, however when user redefine only file type to DataStream, flume will still use default Writable writable format that will not append separate serialized events with new line character.

      Would be nice if flume would choose default value of writable format based on current file type, so that for example for DataStream file type, default writable format would be Text instead of Writable. I believe that would lead to less confused users.

      Attachments

        1. FLUME-881.patch
          2 kB
          Jarek Jarcec Cecho

        Issue Links

          Activity

            People

              jarcec Jarek Jarcec Cecho
              jarcec Jarek Jarcec Cecho
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: