[
https://issues.apache.org/jira/browse/FLUME-1916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13591436#comment-13591436
]
Hudson commented on FLUME-1916:
-------------------------------
Integrated in flume-trunk #366 (See
[https://builds.apache.org/job/flume-trunk/366/])
FLUME-1916. HDFS sink should poll for # of active replicas. If less than
required, roll the file. (Revision 17338bf303e617054576813b02d057b98753b6aa)
Result = SUCCESS
hshreedharan :
http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git&a=commit&h=17338bf303e617054576813b02d057b98753b6aa
Files :
*
flume-ng-sinks/flume-hdfs-sink/src/main/java/org/apache/flume/sink/hdfs/AbstractHDFSWriter.java
*
flume-ng-sinks/flume-hdfs-sink/src/main/java/org/apache/flume/sink/hdfs/HDFSCompressedDataStream.java
*
flume-ng-sinks/flume-hdfs-sink/src/main/java/org/apache/flume/sink/hdfs/HDFSSequenceFile.java
* flume-ng-doc/sphinx/FlumeUserGuide.rst
*
flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/TestHDFSEventSinkOnMiniCluster.java
*
flume-ng-sinks/flume-hdfs-sink/src/main/java/org/apache/flume/sink/hdfs/BucketWriter.java
*
flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/TestBucketWriter.java
*
flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/MockHDFSWriter.java
*
flume-ng-sinks/flume-hdfs-sink/src/main/java/org/apache/flume/sink/hdfs/HDFSDataStream.java
*
flume-ng-sinks/flume-hdfs-sink/src/main/java/org/apache/flume/sink/hdfs/HDFSWriter.java
> HDFS sink should poll for # of active replicas. If less than required, roll
> the file.
> -------------------------------------------------------------------------------------
>
> Key: FLUME-1916
> URL: https://issues.apache.org/jira/browse/FLUME-1916
> Project: Flume
> Issue Type: Bug
> Components: Sinks+Sources
> Affects Versions: v1.3.1
> Reporter: Mike Percy
> Assignee: Mike Percy
> Fix For: v1.4.0
>
> Attachments: FLUME-1916-1.patch, FLUME-1916-2.patch,
> FLUME-1916-3.patch, FLUME-1916-4.patch, FLUME-1916.patch
>
>
> Add functionality to the HDFS sink which constantly polls the number of
> replicas for files being written. If the number of replicas drops below 3 (or
> specified number), it should immediately close the HDFS output file and start
> a new file that should be able to create a pipeline with the correct number
> of replicas.
> This is the same behavior taken by HBase for its write-ahead log (WAL) and
> should help us avoid hitting the more complex corner cases around failed
> close() calls.
--
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