hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luke Lu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-2558) Add queue-level metrics 0.20-security branch
Date Thu, 02 Jun 2011 18:48:47 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-2558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13042977#comment-13042977
] 

Luke Lu commented on MAPREDUCE-2558:
------------------------------------

You can mock concrete classes the same way as long as the class and methods are not final:
{code}
QueueMetrics metrics = Mockito.mock(QueueMetrics.class);
{code}

> Add queue-level metrics 0.20-security branch
> --------------------------------------------
>
>                 Key: MAPREDUCE-2558
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2558
>             Project: Hadoop Map/Reduce
>          Issue Type: New Feature
>          Components: jobtracker
>    Affects Versions: 0.20.204.0
>            Reporter: Jeffrey Naisbitt
>            Assignee: Jeffrey Naisbitt
>             Fix For: 0.20.205.0
>
>         Attachments: queue-metrics-v2.patch, queue-metrics.patch
>
>
> We would like to record and present the jobtracker metrics on a per-queue basis.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message