GitHub user majorendre opened a pull request:
https://github.com/apache/flume/pull/237
FLUME-2653 Allow hdfs sink inUseSuffix to be empty
This is based on the contributions for FLUME-2653 regarding a new feature
for the hdfs sink.
Added a new parameter hdfs.emptyInUseSuffix to allow the output file name
to remain unchanged.
See the user guide changes for details.
This is desired feature from the community.
I added a new junit test case for testing.
Temporarily modified old test cases in my ide to use the new flag, and they
passed. I did this just as one of test, to be on the safe side. It is not in
this PR.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/majorendre/flume FLUME-2653
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flume/pull/237.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 #237
----
commit 930476595e70b2ecb5fd3a21a732b82391d351f8
Author: Endre Major <emajor@...>
Date: 2018-11-14T17:44:02Z
FLUME-2653 Allow inUseSuffix to be empty
----
---