Page MenuHomePhabricator

Add jmxtrans metrics from Hadoop yarn-mapreduce-historyserver
Closed, ResolvedPublic5 Estimated Story Points

Description

We don't have metrics from the historyserver in graphite. Write jmxtrans configs to get these.

Event Timeline

I think that the history server does not have any jmx port configured, and I didn't find any environment variable to put in hadoop-env.sh to fix it. I am also fairly ignorant about configs in CDH, I tried to check the docs but nothing really good came up.

@Ottomata - any suggestion/hint? :)

elukey triaged this task as Medium priority.Jan 27 2017, 3:07 PM

Change 334667 had a related patch set uploaded (by Elukey):
Add JMX port 9986 to the MapReduce History process

https://gerrit.wikimedia.org/r/334667

Next step is to understand if we can expect metrics exported via JMX from the JobHistory..

Milimetric set the point value for this task to 5.Feb 6 2017, 4:54 PM
Milimetric edited projects, added Analytics-Kanban; removed Analytics.

Change 334667 merged by Elukey:
Add JMX port 9986 to the MapReduce History process

https://gerrit.wikimedia.org/r/334667

Change 339418 had a related patch set uploaded (by Elukey):
Update the cdh submodule to the latest sha

https://gerrit.wikimedia.org/r/339418

Change 339418 merged by Elukey:
Update the cdh submodule to the latest sha

https://gerrit.wikimedia.org/r/339418

Restarted the history server daemon on an1001, all good, port 9986 is now used by JMX. I verified via jconsole that the JVM MBeans are there, so the next step is to add the necessary jmxtrans configuration to start pushing metrics to graphite.

elukey added a project: User-Elukey.
elukey moved this task from Backlog to In Progress on the User-Elukey board.

Change 342592 had a related patch set uploaded (by Elukey):
[operations/puppet/cdh] Add the Jmxtrans configuration for the MapReduce History server

https://gerrit.wikimedia.org/r/342592

Change 342592 merged by Elukey:
[operations/puppet/cdh] Add the Jmxtrans configuration for the MapReduce History server

https://gerrit.wikimedia.org/r/342592

Change 342640 had a related patch set uploaded (by Elukey):
[operations/puppet] Update the cdh module's sha with the latest change

https://gerrit.wikimedia.org/r/342640

Change 342640 merged by Elukey:
[operations/puppet] Update the cdh module's sha with the latest change

https://gerrit.wikimedia.org/r/342640