[
https://issues.apache.org/jira/browse/FLUME-2502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14171330#comment-14171330
]
Prateek Rungta commented on FLUME-2502:
---------------------------------------
[~hshreedharan] cool! I debated putting it in the same place as "RANDOM". The
only reason I wanted to put it in a separate section was: it changes the amount
of memory used by the Agent. I haven't profiled it to know how much memory it
now uses, and I didn't want to affect existing users of "RANDOM". But I'm not a
fan of the new consume order either.
I'll defer to your judgement on which is the lesser of the two evils :)
> Spool source's directory listing is inefficient
> -----------------------------------------------
>
> Key: FLUME-2502
> URL: https://issues.apache.org/jira/browse/FLUME-2502
> Project: Flume
> Issue Type: Improvement
> Components: Sinks+Sources
> Affects Versions: v1.5.0
> Reporter: Prateek Rungta
> Attachments: FLUME-2502-0.patch
>
>
> As mentioned in
> [FLUME-2309|https://issues.apache.org/jira/browse/FLUME-2309], the directory
> listing can it self become the bottleneck when accessing directories with a
> large number of files (>1M). The fix in that JIRA added in the ability to
> specify `RANDOM` as a Consume-Order to avoid sorting large lists.
> The slowness of the directory listing is still un-addressed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)