You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2017/09/20 11:08:00 UTC

[jira] [Resolved] (SPARK-17159) Improve FileInputDStream.findNewFiles list performance

     [ https://issues.apache.org/jira/browse/SPARK-17159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Loughran resolved SPARK-17159.
------------------------------------
    Resolution: Won't Fix

Based on the feedback of https://github.com/apache/spark/pull/14731 ; I'm doing all my spark+cloud support elsewhere. 

closing as a WONTFIX; 

> Improve FileInputDStream.findNewFiles list performance
> ------------------------------------------------------
>
>                 Key: SPARK-17159
>                 URL: https://issues.apache.org/jira/browse/SPARK-17159
>             Project: Spark
>          Issue Type: Improvement
>          Components: DStreams
>    Affects Versions: 2.0.0
>         Environment: spark against object stores
>            Reporter: Steve Loughran
>            Priority: Minor
>
> {{FileInputDStream.findNewFiles()}} is doing a globStatus with a fitler that calls getFileStatus() on every file, takes the output and does listStatus() on the output.
> This going to suffer on object stores, as dir listing and getFileStatus calls are so expensive. It's clear this is a problem, as the method has code to detect timeouts in the window and warn of problems.
> It should be possible to make this faster



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org