AFAIK, only the Hdfs sink supports that. So you are going to have to extend the standard HDFSEventSink to build a tar using a library like Apache Commons Compress. Please note, the tar format is not really compressed but just appended, if you want compression you need to add gzip on the tar so it becomes tar.gz
Regards, Gonzalo On 17 November 2015 at 00:42, R P <[email protected]> wrote: > Hello All, > > > I am aware of flume support for writing data in gzip, bzip2, lzo, lzop, > snappy. > Due to legacy code I need to write data in Tar format. Have anybody used > flume to write Tar compressed files? > > Any pointers will be greatly appreciated. > > > Thanks, > > R > > >
