[ 
https://issues.apache.org/jira/browse/FLINK-26488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17506087#comment-17506087
 ] 

Yao Zhang commented on FLINK-26488:
-----------------------------------

HADOOP-6201

It suggests that FileSystem::ListStatus should return FileNotFoundException if 
the file was not found. LocalFileSystem.listStatus could keep consistent with 
it.

> FileSystem.listFiles is not implemented consistently
> ----------------------------------------------------
>
>                 Key: FLINK-26488
>                 URL: https://issues.apache.org/jira/browse/FLINK-26488
>             Project: Flink
>          Issue Type: Bug
>          Components: Connectors / FileSystem
>    Affects Versions: 1.15.0, 1.13.6, 1.14.3
>            Reporter: Matthias Pohl
>            Priority: Major
>
> {{LocalFileSystem.listStatus}} returns {{null}} if the passed path refers to 
> a not-existing file. {{HadoopFileSystem.listStatus}} doesn't do that.
> The {{FileSystem.listStatus}} JavaDoc is not specifying any behavior.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to