flume-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nitin Pawar <nitinpawar...@gmail.com>
Subject doubt on hdfs sink
Date Tue, 18 Sep 2012 08:32:08 GMT
hello,

I have a working setup of flume which writes into hdfs.
I am using flum 1.2.0

I have following settings.

agent1.sinks.HDFS.hdfs.file.Type = SequenceFile
agent1.sinks.HDFS.hdfs.writeFormat = Text
agent1.sinks.hdfs.rollInterval = 86400
agent1.channels.MemoryChannel-2.type = memory

My doubt is, why does flume creates one hdfs file for one event. I
want it to write a single hdfs file per day for the log.
Can someone please help me find out what I have done wrong?

Thanks

-- 
Nitin Pawar

Mime
View raw message