[ https://issues.apache.org/jira/browse/FLUME-1702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15943005#comment-15943005 ]
darkz commented on FLUME-1702: ------------------------------ Yes,I use the "." prefix to skip ".tmp" file,but the flume document dos not mention it... > HDFSEventSink should write to a hidden file as opposed to a .tmp file > --------------------------------------------------------------------- > > Key: FLUME-1702 > URL: https://issues.apache.org/jira/browse/FLUME-1702 > Project: Flume > Issue Type: Improvement > Reporter: Brock Noland > Assignee: Jarek Jarcec Cecho > Fix For: 1.4.0 > > Attachments: bugFLUME-1702.patch, bugFLUME-1702.patch > > > Currently we write to a .tmp file. The problem is that if MR jobs are being > run on the directory we are writing to, then it's common for an MR job to > list the directory, get a .tmp file and then in the mean time the .tmp file > is renamed causing the job to fail when run. > Using JavaMR you can use a PathFilter to avoid this, however a custom > solution is required for Pig, Hive, etc. > Perhaps we should write to a hidden file so that MR never tries to process > data in flight. -- This message was sent by Atlassian JIRA (v6.3.15#6346)