RE: how flume identifies a file transfer is complete or not

2014-07-26 Thread Soheil Eizadi
I am new to Flume but this is how I would solve your problem. You can get the Community feedback. I assume for your use case you can set the value of idleTimeout as each transfer results in one HDFS file: agent.sinks.hdfs1.hdfs.idleTimeout = 1 The default value is zero, you see that Flume will

RE: how flume identifies a file transfer is complete or not

2014-07-26 Thread Soheil Eizadi
Forgot to highlight that the value for the temp file is controlled by: agent.sinks.hdfs1.hdfs.inUsePrefix = . agent.sinks.hdfs1.hdfs.inUseSuffix = .temp If you want to change them to set values as your script would depend on them. From: Soheil Eizadi [seiz