[
https://issues.apache.org/jira/browse/FLUME-2918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15339181#comment-15339181
]
ASF subversion and git services commented on FLUME-2918:
--------------------------------------------------------
Commit 7d1e683fbd7d261fff9fcf17ad78fd8469c64905 in flume's branch
refs/heads/trunk from [~mpercy]
[ https://git-wip-us.apache.org/repos/asf?p=flume.git;h=7d1e683 ]
FLUME-2918. Speed up TaildirSource on directories with many files
This patch greatly improves the performance of TaildirSource on
directories that contain a large number of files.
(Attila Simon via Mike Percy)
> TaildirSource is underperforming with huge parent directories
> -------------------------------------------------------------
>
> Key: FLUME-2918
> URL: https://issues.apache.org/jira/browse/FLUME-2918
> Project: Flume
> Issue Type: Improvement
> Components: Sinks+Sources
> Affects Versions: v1.6.0
> Reporter: Attila Simon
> Labels: performance
> Fix For: v1.7.0
>
> Attachments: FLUME-2918-2.patch, PerfHugeDir.java, perftest.png,
> profiling_after.png, profiling_before.png, test.csv
>
>
> TailDir source cause high cpu utilization, when large amount of file is
> sitting in the target directory. File pattern matches only a single file, but
> the parent directory contains about 50,000 other file.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)