[
https://issues.apache.org/jira/browse/FLUME-1702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13535572#comment-13535572
]
Hudson commented on FLUME-1702:
-------------------------------
Integrated in flume-trunk #343 (See
[https://builds.apache.org/job/flume-trunk/343/])
FLUME-1702: HDFSEventSink should write to a hidden file as opposed to a
.tmp file (Revision ae62279f8066b1e2728a579ce8384eca36180e9d)
Result = SUCCESS
brock :
http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git&a=commit&h=ae62279f8066b1e2728a579ce8384eca36180e9d
Files :
*
flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/TestHDFSEventSink.java
*
flume-ng-sinks/flume-hdfs-sink/src/main/java/org/apache/flume/sink/hdfs/HDFSEventSink.java
*
flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/TestBucketWriter.java
*
flume-ng-sinks/flume-hdfs-sink/src/main/java/org/apache/flume/sink/hdfs/BucketWriter.java
* flume-ng-doc/sphinx/FlumeUserGuide.rst
> 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: v1.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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira