Support Questions
Find answers, ask questions, and share your expertise

yarn user creates java process which uses more cpu usage

yarn user creates java process which uses more cpu usage

New Contributor

Yarn user creating java process continuously which uses high CPU usage. I killed the process but after killing the process its again creating. I am attaching some of the screenshot.

Please help me on this. I been stuck here for a couple of days.

78565-cap1.png


cap.png
2 REPLIES 2

Re: yarn user creates java process which uses more cpu usage

it comes at the time of mapreduce only right ?. if then it will be the map/reduce process. please grep the process id and take what exactly the process it is. If it is map/reduce process then one option is to recheck your mapreduce code. If that is also fine yarn cgroup may help.

If you want to kill this process you need to kill the yarn job associated with it. To get the runnning yarn applications you can use RM UI or yarn application -list command

To kill job : yarn application -kill application_id

Re: yarn user creates java process which uses more cpu usage

New Contributor

Hi Rahul,

Its not mapreduce process,its yarn process. I grep the process id its yarn process continuously creating temp files. I am attaching screenshots.

79407-cap.png

79409-cap1.png

Please help me on this. Thanks in advance.


cap.png