flink写入elasticserach时阻塞导致检查点超时

项目场景:

线上的flink作业,需要将消费的数据处理后写入es的索引中,但任务偶发的检查点超时,通过分析日志,排查后发现为写入es的时候阻塞引起的检查点超时。

问题描述

flink作业sink 写入es的时候任务卡住,导致检查点超时,排查到的报错日志如下:

在这里插入图片描述
Sink to es error ,stackTrace: ElasticsearchException[Elasticsearch except
ion [type=es_rejected_execution_exception, reason=rejected execution of processing of [732947227][indices:data/write/bulk[s][p]]: request: BulkShardRequest [[fin_input
_total_invoice_index][2]] containing [37] requests, target allocation id: lmspLqJ0QZqnXN0HkMzkQA, primary term: 1 on EsThreadPoolExecutor[name = es-node01/write, queue
capacity = 200, org.elasticsearch.common.util.concurrent.EsThreadPoolExecutor@2c99189a[Running, pool size = 8, active threads = 8, queued tasks = 217, completed tasks
= 442464936]]]]

原因分析:

1、

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值