即使Application Master终止后,纱线应用程序也不会被终止 [英] Yarn application not getting killed even after Application Master is terminated

查看:140
本文介绍了即使Application Master终止后,纱线应用程序也不会被终止的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序因为此问题而受苦,即使在终止应用程序主文件之后,该应用程序实际上也没有被终止.它是一个已知的毛线问题 YARN-3561 .它突然出现,因此我在应用程序中开发了一个修复程序,我想对其进行测试.但是到目前为止,这种纱线问题不再重现.有什么可以肯定的方式来复制此问题,以便我可以验证我的修复程序吗?

My application is suffering because of this issue, which is Even after killing the application master, the application is not actually getting killed. Its a known yarn issue YARN-3561. It occurs out of blue, So I have developed a fix in my application and I want to test it. But as of now this yarn issue is not replicating again. Is there any sure-shot way of replicating this issue so I can verify my fix?

推荐答案

我能够通过使用setsid实用程序将应用程序作为守护进程启动来复制它.这样,即使在容器被杀死之后,该过程仍在继续运行.

I was able to replicate this by launching the application as daemon process by using setsid utility. By this, even after container was killed, the process kept running.

这篇关于即使Application Master终止后,纱线应用程序也不会被终止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆