AnsweredAssumed Answered

Fetching Job Metrics and Task Metrics

Question asked by johnshaan on Feb 19, 2013
Latest reply on Apr 11, 2013 by shaka

I have a 5 node setup with 4 data nodes and the 5th node running jobtracker, etc. I am running 10s of jobs every day. I want to write a program to pull the job metrics and task metrics for each job that ran previous day - for reporting purposes.

What is the best approach to do this?

I tried the following API:


First, it came out with the following error and second it does not seem to provide all the values (as provided in the history viewer as provided in http://<mynode>:50030. Any ideas?
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<title>Error 403 Invalid Cookie</title>
<body><h2>HTTP ERROR: 403</h2><pre>Invalid Cookie</pre>
<p>RequestURI=/api/job/table</p><p><i><small><a href="">Powered by Jetty://</a></small></i></p><br/>