[ https://issues.apache.org/jira/browse/FLINK-5027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15644507#comment-15644507 ]
ASF GitHub Bot commented on FLINK-5027: --------------------------------------- GitHub user kl0u opened a pull request: https://github.com/apache/flink/pull/2765 [FLINK-5027] FileSource finishes successfully with a wrong path Adds a test in the `run()` of the `ContinuousFileMonitoringFunction` that checks if the user-specified path is valid. If not, the job will throw an IOException at runtime. We cannot throw the exception at compile time as we may not have access to the cluster. R: @tillrohrmann You can merge this pull request into a Git repository by running: $ git pull https://github.com/kl0u/flink fs_fix Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/2765.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 #2765 ---- commit 4ad9f98f155bcb08c9174919f8cc9b7926c65b4b Author: kl0u <kklou...@gmail.com> Date: 2016-11-07T15:35:38Z [FLINK-5027] FileSource finishes successfully with a wrong path ---- > FileSource finishes successfully with a wrong path > -------------------------------------------------- > > Key: FLINK-5027 > URL: https://issues.apache.org/jira/browse/FLINK-5027 > Project: Flink > Issue Type: Bug > Components: DataStream API > Affects Versions: 1.2.0 > Reporter: Till Rohrmann > Assignee: Kostas Kloudas > Fix For: 1.2.0 > > > When reading from a non existing {{File}} or a wrong file path, a Flink > streaming program finishes successfully even though it should fail with a > appropriate error message. This can be misleading since the user is not > notified about the wrong file path. > I think the default behaviour should be that we fail a file streaming source > if the file path is wrong. -- This message was sent by Atlassian JIRA (v6.3.4#6332)