flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mxm <...@git.apache.org>
Subject [GitHub] flink pull request #2610: [FLINK-4777] catch IOException in ContinuousFileMo...
Date Fri, 07 Oct 2016 18:14:14 GMT
GitHub user mxm opened a pull request:

    https://github.com/apache/flink/pull/2610

    [FLINK-4777] catch IOException in ContinuousFileMonitoringFunction

    FileSystem.listStatus(path) may throw an IOException when it lists files
    and then retrieves their file status. This is quite common, e.g. editors
    which create temporary files and move them. The
    ContinuousFileMonitoringFunction can only apply a file path filter
    afterwards.
    
    The solution is to defer file checks until no exception is caught anymore.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/mxm/flink release-1.1

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/2610.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 #2610
    
----
commit 7cb492410ab083dcc56515a0c653936fe32c2c14
Author: Maximilian Michels <mxm@apache.org>
Date:   2016-10-07T18:06:18Z

    [FLINK-4777] catch IOException in ContinuousFileMonitoringFunction
    
    FileSystem.listStatus(path) may throw an IOException when it lists files
    and then retrieves their file status. This is quite common, e.g. editors
    which create temporary files and move them. The
    ContinuousFileMonitoringFunction can only apply a file path filter
    afterwards.
    
    The solution is to defer file checks until no exception is caught anymore.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message