Flink SQL Size of the state is larger than the maximum permitted memory-backed state

Posted @SmartSi

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Flink SQL Size of the state is larger than the maximum permitted memory-backed state相关的知识,希望对你有一定的参考价值。

传送门:那些年我们踩过的 Flink 坑系列


Flink 1.13.5

1. 问题

在运行如下 Flink SQL 时发现 Checkpoint 失败:

INSERT INTO order_cnt
SELECT
  uid, COUNT(*) AS cnt
FROM order_behavior
GROUP BY uid

查看运行日志发现抛出如下异常:

以上是关于Flink SQL Size of the state is larger than the maximum permitted memory-backed state的主要内容,如果未能解决你的问题,请参考以下文章

How to Enable Trace or Debug for APIs executed as SQL Script Outside of the Applications ?

Flink未解决 FLink 写 hive MemoryManager New Memory allocation smaller than the minimum allocation size(代

Flink - The heartbeat of TaskManager with id container timed out 分析与 Heartbeat 简介

Flink:The generic type parameters of ‘Collector‘ are missing 类型擦除

The size of tensor a must match the size of tensor b at non-singleton dimension 0

The size of tensor a must match the size of tensor b at non-singleton dimension 0