Yarn application not getting killed even after Application Master is terminated

岁酱吖の 提交于 2019-12-12 03:29:15

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/36434422/yarn-application-not-getting-killed-even-after-application-master-is-terminated

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!