问题
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