hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill de hOra (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-4559) Rest API for retrieving job / task statistics
Date Fri, 28 Nov 2008 01:28:44 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-4559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12651447#action_12651447
] 

Bill de hOra commented on HADOOP-4559:
--------------------------------------



{code}
JobID id = currentjob.getID();
String url = "http://localhost:50030/api.jsp?info=jobdetails&id=" + id.getId();
{code}

Can't you just call this a JSP into the jobtracker instead? I hate to nitpick, but it's not
REST style (client url construction), nor is the response (no links), and ASF code should
(imvho) know the difference. If you want to be build REST style tooling around the tracker,
I'd be happy to help with that. For example to scale this up to a lot of jobs and/or a lot
of clients will require something that doesn't hammer the tracker. And iterating over the
tracker seems like a linear bottleneck - O(1) key lookup would be much better. 

> Rest API for retrieving job / task statistics 
> ----------------------------------------------
>
>                 Key: HADOOP-4559
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4559
>             Project: Hadoop Core
>          Issue Type: New Feature
>            Reporter: Florian Leibert
>            Priority: Trivial
>             Fix For: 0.20.0
>
>         Attachments: HADOOP-4559.patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> a rest api that returns a simple JSON containing information about a given job such as:
 min/max/avg times per task, failed tasks, etc. This would be useful in order to allow external
restart or modification of parameters of a run.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message