GitHub user ffernandez92 opened a pull request:
https://github.com/apache/flume/pull/225
FLUME-3217 . Creates empty files when quota
As it can be seen in FLUME-3217, Flume creates empty files when HDFS quota
has been reached.
This is a first approach to the solution. It works although a better
approach it could be implemented.
The idea is to capture the quota Exception in order to delete this annoying
empty files generated by flume.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ffernandez92/flume patch-3
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flume/pull/225.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #225
----
commit da08bed61fd91c2786a5e22d42eb265a8f3e76d3
Author: Ferran Fernández Garrido <ffernandez.upc@...>
Date: 2018-08-17T10:58:45Z
FLUME-3217 . Creates empty files when quota
As it can be seen in FLUME-3217, Flume creates empty files when HDFS quota
has been reached.
This is a first approach to the solution, it works although a better
approach it could be implemented. The idea is to capture the quota Exception in
order to delete this annoying empty files generated by flume.
----
---