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

Seth Wiesman commented on FLINK-23429:
--------------------------------------

fixed in master: f9286a54ded7c34d7bf49146a93ee86cc701ac9b

release-1.13: dd2945d73849a3bedf4f390a5ea8541f9815ce6e

release-1.12: 909a6a116db1fd65e8a8332f5d0e095e42df342f

> State Processor API failed with FileNotFoundException when working with state 
> files on Cloud Storage
> ----------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-23429
>                 URL: https://issues.apache.org/jira/browse/FLINK-23429
>             Project: Flink
>          Issue Type: Bug
>          Components: API / State Processor
>    Affects Versions: 1.13.1, 1.12.4
>            Reporter: Jun Qin
>            Assignee: Jun Qin
>            Priority: Major
>              Labels: pull-request-available
>
> For example, 
> {code:java}
> Caused by: java.io.FileNotFoundException: 
> /savepoints/savepoint-18cf55-d90c1b6b1d12/c965e4fd-9647-4f25-b4cd-5ce0485759fd
>  (No such file or directory)
>       at java.io.FileInputStream.open0(Native Method) ~[?:?]
>       at java.io.FileInputStream.open(FileInputStream.java:219) ~[?:?]
>       at java.io.FileInputStream.<init>(FileInputStream.java:157) ~[?:?]
>       at 
> org.apache.flink.core.fs.local.LocalDataInputStream.<init>(LocalDataInputStream.java:50)
>  ~[flink-dist_2.12-1.12.2.jar:1.12.2]
>       at 
> org.apache.flink.core.fs.local.LocalFileSystem.open(LocalFileSystem.java:134) 
> ~[flink-dist_2.12-1.12.2.jar:1.12.2]
>       at 
> org.apache.flink.core.fs.SafetyNetWrapperFileSystem.open(SafetyNetWrapperFileSystem.java:87)
>  ~[flink-dist_2.12-1.12.2.jar:1.12.2]
>       at 
> org.apache.flink.state.api.output.FileCopyFunction.writeRecord(FileCopyFunction.java:61)
>  ~[?:?]
>       at 
> org.apache.flink.state.api.output.FileCopyFunction.writeRecord(FileCopyFunction.java:34)
>  ~[?:?]
>       at 
> org.apache.flink.runtime.operators.DataSinkTask.invoke(DataSinkTask.java:235) 
> ~[flink-dist_2.12-1.12.2.jar:1.12.2]
>       at org.apache.flink.runtime.taskmanager.Task.doRun(Task.java:755) 
> ~[flink-dist_2.12-1.12.2.jar:1.12.2]
>       at org.apache.flink.runtime.taskmanager.Task.run(Task.java:570) 
> ~[flink-dist_2.12-1.12.2.jar:1.12.2]
>       at java.lang.Thread.run(Thread.java:834) ~[?:?]
> {code}
> However, the actual files to be copied do exist in the source savepoint.



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

Reply via email to