[
https://issues.apache.org/jira/browse/FLINK-33426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17781693#comment-17781693
]
Martijn Visser edited comment on FLINK-33426 at 11/1/23 10:47 AM:
------------------------------------------------------------------
[~wenhao.yu] Have you tried using the regular FileSource, since readFile is
deprecated (see
https://nightlies.apache.org/flink/flink-docs-master/api/java/org/apache/flink/api/java/ExecutionEnvironment.html#readFile-org.apache.flink.api.common.io.FileInputFormat-java.lang.String-)?
This probably will be a Won't Fix ticket.
was (Author: martijnvisser):
[~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)