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

zlzhang0122 edited comment on FLINK-24314 at 9/17/21, 3:54 AM:
---------------------------------------------------------------

In Flink 1.13, the storage of the state and checkpoint was separated,  so you 
should set statebackend and checkpoint location at the same time. In your case, 
you just set the statebackend, so it use memory to store the checkpoint as 
default and since the size is beyound the limit, it throw an exception.


was (Author: zlzhang0122):
In Flink 1.13, the storage of the state and checkpoint was separated,  so you 
should set statebackend and checkpoint location at the same time. In your case, 
you just set the statebackend, so it use memory to store the checkpoint as 
default and since the size is beyound the limit, it report an exception.

> Always use memory state backend with RocksDB
> --------------------------------------------
>
>                 Key: FLINK-24314
>                 URL: https://issues.apache.org/jira/browse/FLINK-24314
>             Project: Flink
>          Issue Type: Bug
>    Affects Versions: 1.13.0
>            Reporter: shiwuliang
>            Priority: Major
>         Attachments: image-2021-09-17-10-59-50-094.png
>
>
> When I config to use `RocksDBStatebackend`, 
>  
> {code:java}
> //代码占位符
> RocksDBStateBackend rocksDBStateBackend = new 
> RocksDBStateBackend("hdfs://xxxx");
> streamEnv.setStateBackend(rocksDBStateBackend);{code}
>  
> there are some exception like this:
> !image-2021-09-17-10-59-50-094.png|width=1446,height=420!
>  
> Seems like the RocksdbStatebackend will use FsStateBackend to store 
> checkpoints. So it means that I have used FileSystemStateBackend, why does 
> this exception occur?
>  
> I use flink 1.13.0 and found a similar question like this at: 
> [https://stackoverflow.com/questions/68314652/flink-state-backend-config-with-the-state-processor-api]
>  
> I'm not sure if his question is same with mine.
> I want to know how can I solve this and if it is indeed a 1.13.0 bug, how can 
> I bypass it besides upgrading?
>  



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

Reply via email to