Re: 答复: HDFS sink leaves .tmp files

2012-11-06 Thread Kathleen Ting
Hi Shara, The .tmp file contains the actual data before it is renamed to the final file. If the .tmp file is still open, then Flume is still holding it open in order to write to it. If Flume somehow dies and is unable to clean up the .tmp files, then once the client lease expires, the NameNode

答复: HDFS sink leaves .tmp files

2012-11-05 Thread Shara Shi
I met the similar problem that .tmp file appears on hdfs when hdfs reboot. I think the file dose not be closed properly . But I don't know how to handle this problem. Shara -邮件原件- 发件人: Kathleen Ting [mailto:kathl...@apache.org] 发送时间: 2012年9月14日 0:09 收件人: user@flume.apache.org 主题: Re: