[ 
https://issues.apache.org/jira/browse/FLUME-1104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13248036#comment-13248036
 ] 

Hudson commented on FLUME-1104:
-------------------------------

Integrated in flume-trunk #161 (See 
[https://builds.apache.org/job/flume-trunk/161/])
    FLUME-1104. HDFS Sink rolls the first file incorrectly.

(Prasad Mujumdar via Arvind Prabhakar) (Revision 1310160)

     Result = SUCCESS
arvind : http://svn.apache.org/viewvc/?view=rev&rev=1310160
Files : 
* 
/incubator/flume/trunk/flume-ng-sinks/flume-hdfs-sink/src/main/java/org/apache/flume/sink/hdfs/BucketWriter.java
* 
/incubator/flume/trunk/flume-ng-sinks/flume-hdfs-sink/src/main/java/org/apache/flume/sink/hdfs/HDFSEventSink.java
* 
/incubator/flume/trunk/flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/TestHDFSEventSink.java

                
> HDFS rolls the first file incorrectly
> -------------------------------------
>
>                 Key: FLUME-1104
>                 URL: https://issues.apache.org/jira/browse/FLUME-1104
>             Project: Flume
>          Issue Type: Bug
>          Components: Sinks+Sources
>    Affects Versions: v1.2.0
>            Reporter: Prasad Mujumdar
>            Assignee: Prasad Mujumdar
>             Fix For: v1.2.0
>
>         Attachments: FLUME-1104-2.patch
>
>
> The sink process() keep tracks of the buckets opened during the transaction. 
> At the end of transaction, we need to flush all the buckets that has pending 
> data. This is required in order to ensure that the data removed from channel 
> should be safely in HDFS during commit.
> Currently the files are tracked only when they are created and also getting 
> closed during the cleanup instead of flush.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to