Hi Flink Community, I am using flink 1.6.0 and I am using BucketingSink to S3. After the application running for a while ~ 20 mins, I got an exception: java.lang.IllegalStateException: Writer has already been opened I have attached the job manager log and the sink code is here: val avroOutputPath = output Any suggestions on why this could happen and how to debug it? Thanks for your help in advance! Regards, Chengzhi log_job_manager.txt (310K) Download Attachment |
After checking the code, I think the issue might be related to AvroKeyValueSinkWriter.java and led to the writer has not been closed completely. I also noticed this change and affect 1.5+ @Override I created my own AvroKeyValueSinkWriter class and implement the code similar as v1.4, it seems running fine now. @Override I am curious if anyone had the similar issue, Appreciate anyone has insights on it. Thanks! Best, Chengzhi On Mon, Sep 17, 2018 at 12:01 PM Chengzhi Zhao <[hidden email]> wrote:
|
Hi,
thanks for putting some effort into debugging the problem. Could you open a Jira with the problem and your analysis so that we can discuss how to proceed with it? Best, Stefan
|
Thanks Stefan for replying, I created a JIRA ticket https://issues.apache.org/jira/browse/FLINK-10382 Best, Chengzhi On Thu, Sep 20, 2018 at 7:49 AM Stefan Richter <[hidden email]> wrote:
|
Free forum by Nabble | Edit this page |