Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Access Running Job Metrics via JMX

Solved Go to solution

Access Running Job Metrics via JMX

New Contributor

Can you access Job Metrics via JMX? I would like to see all running jobs and how long they have been running, how many containers were allocated,etc. It looks like the ResourceManager REST API provides what I'm looking for, but was wondering if it was available in JMX.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Access Running Job Metrics via JMX

7 REPLIES 7

Re: Access Running Job Metrics via JMX

Re: Access Running Job Metrics via JMX

Contributor

@mhendricks

I have the exact same interest on monitoring all the containers of the job via JMX. However, my question is how to get the list of containers for a job assuming we can turn ON JMX for yarn containers?

Re: Access Running Job Metrics via JMX

Contributor

@Timothy Spann

Tim,

Thanks for the info. I can pull daemon JMX for sure since they are running all the time. However, I am more interested on per job based container. How to query YARN restful api to get a list of container for a job?

Re: Access Running Job Metrics via JMX

Super Guru

Re: Access Running Job Metrics via JMX

Contributor

My problem is how to set different JMX ports on the containers running on the same slave node.

Re: Access Running Job Metrics via JMX

Super Guru
Don't have an account?
Coming from Hortonworks? Activate your account here