You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Mike Percy (JIRA)" <ji...@apache.org> on 2013/02/13 01:47:13 UTC

[jira] [Created] (FLUME-1916) HDFS sink should poll for # of active replicas. If less than required, roll the file.

Mike Percy created FLUME-1916:
---------------------------------

             Summary: 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
             Fix For: v1.4.0


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