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

Martijn Visser commented on FLINK-33426:
----------------------------------------

[~wenhao.yu] Have you tried using the regular FileSource, since readFile is 
deprecated? This probably will be a Won't Fix ticket. 

> If the directory does not have the read permission, an exception cannot be 
> thrown, when read this path.
> -------------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-33426
>                 URL: https://issues.apache.org/jira/browse/FLINK-33426
>             Project: Flink
>          Issue Type: Improvement
>          Components: API / DataStream
>    Affects Versions: 1.13.5, 1.17.1
>            Reporter: wenhao.yu
>            Priority: Major
>             Fix For: 1.17.1
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> When I use StreamExecutionEnvironment.ReadFile () this API, found that while 
> reading on HDFS directory if the directory does not give permission to read, 
> then this exception is not thrown, task would have been run, the outside 
> world will not perceive the task status.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to