spark报错ERROR client.TransportResponseHandler: Still have 1 requests outstanding when connection from

spark任务报错(不过计算后的结果是对的):

21/04/29 14:38:38 ERROR client.TransportResponseHandler: Still have 1 requests outstanding when connection from /172.16.4.156:37528 is closed
21/04/29 14:38:39 ERROR cluster.YarnScheduler: Lost executor 3 on cdh-slave1.test.com: Container marked as failed: container_1618397085347_0529_01_000004 on host: cdh-slave1.test.com. Exit status: 137. Diagnostics: [2021-04-29 14:38:39.112]Container killed on request. Exit code is 137
[2021-04-29 14:38:39.117]Container exited with a non-zero exit code 137.
[2021-04-29 14:38:39.119]Killed by external signal

查看代码,发现spark程序中并有用到hive,但是spark初始化的时候设置了hive支持:

spark报错ERROR client.TransportResponseHandler: Still have 1 requests outstanding when connection from_第1张图片

删除这行代码后程序正常。

你可能感兴趣的:(Spark,spark)