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

Flink Jira Bot updated FLINK-7676:
----------------------------------
    Labels: stale-minor  (was: )

> ContinuousFileMonitoringFunction fails with GoogleHadoopFileSystem
> ------------------------------------------------------------------
>
>                 Key: FLINK-7676
>                 URL: https://issues.apache.org/jira/browse/FLINK-7676
>             Project: Flink
>          Issue Type: Bug
>          Components: Connectors / Common
>            Reporter: Ufuk Celebi
>            Priority: Minor
>              Labels: stale-minor
>
> The following check in ContinuousFileMonitoringFunction fails when running 
> against a file in Google Cloud Storage:
> {code}
> Path p = new Path(path);
> FileSystem fileSystem = FileSystem.get(p.toUri());
> if (fileSystem.exists(p)) {
>    throw new FileNotFoundException("The provided file path " + path + " does 
> not exist.");
> }
> {code}
> I suspect this has something to do with consistency guarantees provided by 
> GCS. I'm wondering if it's better to fail lazily at a later stage (e.g. when 
> opening the stream and it doesn't work). 
> After removing this check, everything works as expected. I can also run a 
> batch WordCount job against the same file.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to