Hi,

I am using Flume 1.2.0 HDFS sink. When Flume crashes (being killed), a file 
name with a suffix of .tmp is generated. I believe it contains the data that 
were flushed into disk when the crash happens. But why does it have a .tmp 
suffix? Shouldn't Flume just write it into a regular file (without .tmp)?

I am using month/day/hour as part of my HDFS file name (%m_%d_%H). When the 
hour passes, it still has a file like 07_31_09.events.1343742385766.tmp with a 
size of zero. Shouldn't Flume just close that file and remove the .tmp suffix? 
When I kill Flume, I can see data written into this file but still with a .tmp 
suffix.

Thanks!

Yongcheng

Reply via email to