java.io.IOException: Failed on local exception: java.nio.channels.ClosedByInterruptException; Hos...

目前发现该异常为task被kill掉的时候会报,当sparkstreaming任务开启推测执行时,如果有task启动推测执行成功,那么该task对应的原来的task将会被kill掉,此时原来的task异常终止,会报上述错误......

java.io.IOException: 
Failed on local exception: java.nio.channels.ClosedByInterruptException; 
Host Details : local host is: "hd-119.ld-hadoop.com/172.16.54.129"; destination host is: "hd-101.ld-hadoop.com":8020;

值得注意的是,该报错下方,应该会出现另一行提示代码:

scheduler.TaskSetManager: Task 1.0 in stage 2.0 (TID 4) failed, 
but another instance of the task has already succeeded, so not re-queuing the task to be re-executed.
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容