You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Martijn Visser (Jira)" <ji...@apache.org> on 2022/06/30 13:30:00 UTC

[jira] [Commented] (FLINK-28251) flink-avro format reader may thrown ’java.util.NoSuchElementException' Exception in some cases

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

Martijn Visser commented on FLINK-28251:
----------------------------------------

[~jinshuangxian] Do you want to open a PR for a fix? 

> flink-avro format reader  may thrown ’java.util.NoSuchElementException' Exception  in some cases  
> --------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-28251
>                 URL: https://issues.apache.org/jira/browse/FLINK-28251
>             Project: Flink
>          Issue Type: Bug
>          Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile)
>    Affects Versions: 1.15.0
>         Environment: flink 1.15.0
> centos7
>            Reporter: jinshuangxian
>            Priority: Major
>         Attachments: image-2022-06-25-22-14-31-301.png, image-2022-06-25-22-25-17-507.png, image-2022-06-25-22-27-06-418.png
>
>
> my source table is :
> CREATE TABLE fileTable (
>   data bytes
> ) 
> WITH (
>   'connector' = 'filesystem',
>   'source.monitor-interval' = '60s',
>   'path' = '${bucket}/${dirname}',
>   'format' = 'avro'
> );
> After running for a period of time, it is possible to throw the following Exception:
> !image-2022-06-25-22-14-31-301.png!
>  
> I found that the following two codes may have bugs. After modification, they can run stably Online.
> !image-2022-06-25-22-25-17-507.png!
>  
> !image-2022-06-25-22-27-06-418.png!



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