org.apache.kudu.client.NonRecoverableException: Caused by: java.lang.NullPointerException

本文分析了Flink作业运行时遇到的Kudu连接问题,报错源自服务器连接谈判超时和Tablet Server服务队列满。通过日志发现,高峰期Tablet的RPC请求队列已满,解决方法包括增大RPC服务队列长度并建议重启受影响的Tablet Server。

Flink运行时完整的报错如下: 

org.apache.kudu.client.NonRecoverableException: 
	at org.apache.kudu.client.KuduException.transformException(KuduException.java:132) ~[kudu-client-1.9.0.jar:1.9.0]
	at org.apache.kudu.client.KuduClient.joinAndHandleException(KuduClient.java:402) ~[kudu-client-1.9.0.jar:1.9.0]
	at org.apache.kudu.client.KuduClient.openTable(KuduClient.java:245) ~[kudu-client-1.9.0.jar:1.9.0]
	at com.ctg.bigdata.etl.sink.KuduClientWindowOrderedSink.invoke(KuduClientWindowOrderedSink.java:82) ~[classes/:?]
	at com.ctg.bigdata.etl.sink.KuduClientWindowOrderedSink.invoke(KuduClientWindowOrderedSink.java:19) ~[classes/:?]
	at org.apache.flink.streaming.api.operators.StreamSink.processElement(StreamSink.java:54) ~[flink-streaming-java_2.12-1.12.1.jar:1.12.1]
	at org.apache.flink.streaming.runtime.tasks.CopyingChainingOutput.pushToOperator(CopyingChainingOutput.java:71) ~[flink-streaming-java_2.12-1.12.1.jar:1.12.1]
	at org.apache.flink.streaming.runtime.tasks.CopyingChainingOutput.collect(CopyingChainingOutput.java:46) ~[flink-streaming-java_2.12-1.12.1.jar:1.12.1]
	at org.apache.flink.streaming.runtime.tasks.CopyingChainingOutput.collect(CopyingChainingOutput.java:26) ~[flink-streaming-java_2.12-1.12.1.jar:1.12.1]
	at org.apache.flink.streaming.runtime.tasks.BroadcastingOutputCollector.collect(BroadcastingOutputCollector.java:75) ~[flink-streaming-java_2.12-1.12.1.jar:1.12.1]
	at org.apache.flink.streaming.runtime.tasks.BroadcastingOutputCollector.collect(BroadcastingOutputCollector.java:32) ~[flink-streaming-java_2.12-1.12.1.jar:1.12.1]
	at org.apache.flink.streaming.api.operators.CountingOutput.collect(CountingOutput.java:50) ~[flink-streaming-java_2.12-1.12.1.jar:1.12.1]
	at org.apache.flink.streaming.api.operators.CountingOutput.collect(CountingOutput.java:28) ~[flink-streaming-java_2.12-1.12.1.jar:1.12.1]
	at org.apache.flink.streaming.api.operators.TimestampedCollector.collect(TimestampedCollector.java:50) ~[flink-streaming-java_2.12-1.12.1.jar:1.12.1]
	at com.ctg.bigdata.etl.run.FlinkRunner$9.process(FlinkRunner.java:225) ~[classes/:?]
	at com.ctg.bigdata.etl.run.FlinkRunner$9.process(FlinkRunner.java:216) ~[classes/:?]
	at org.apache.flink.streaming.runtime.operators.windowing.functions.InternalSingleValueProcessWindowFunction.process(InternalSingleValueProcessWindowFunction.java:60) ~[flink-streaming-java_2.12-1.12.1.jar:1.12.1]
	at org.apache.flink.streaming.runtime.operators.windowing.WindowOperator.emitWindowContents(WindowOperator.java:577) ~[flink-streaming-java_2.12-1.12.1.jar:1.12.1]
	at org.apache.flink.streaming.runtime.operators.windowing.WindowOperator.onEventTime(WindowOperator.java:486) ~[flink-st
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值