Maciej Karaś created FLUME-2710: ----------------------------------- Summary: Timestamp file extension Key: FLUME-2710 URL: https://issues.apache.org/jira/browse/FLUME-2710 Project: Flume Issue Type: Sub-task Components: Configuration, Sinks+Sources Affects Versions: v1.5.1 Reporter: Maciej Karaś
Timestamp extension is added to every file in HDFS sink. For a matter, it is added to every sink using --BucketWriter.java--. Line 247 -249 adds this timestamp counter to filename and it cannot be configured in opposite to what [~ashar103] said in parent task. {code:java} long counter = fileExtensionCounter.incrementAndGet(); String fullFileName = fileName + "." + counter; [...] bucketPath = filePath + "/" + inUsePrefix + fullFileName + inUseSuffix; targetPath = filePath + "/" + fullFileName; {code} Event creation time is not necessary a time of event saving into hdfs, obviously events can be delayed. Thus I don't know why file creation timestamp is mandatory - it can be confusing. -- This message was sent by Atlassian JIRA (v6.3.4#6332)