[
https://issues.apache.org/jira/browse/MAPREDUCE-3050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13117318#comment-13117318
]
Vinod Kumar Vavilapalli commented on MAPREDUCE-3050:
----------------------------------------------------
bq. I wasn't looking at this because of the missing Mrv2 tag
bq. If it is just hey Vinod take a look at this, then I am happy to use it as
such :)
I should've said, we* weren't looking, you know the vultures watching the PA
list over and over :)
We've been using mrv2 for all things marked for 0.23 that we'd definitely want
to get pushed for the release.
Regarding the patch, +1 for separating out the read-only interface. +1 for the
names SchedulerAppInfo and SchedulerApp.
Also, while you are at it, can you collapse the APIs {{Resource
getUsedResource(NodeId nodeId)}} and {{Resource getAvailableResource(NodeId
nodeId)}} into the single API {{SchedulerNodeReport getNodeReport(NodeId
nodeId)}}. SchedulerNodeReport can have all the information pertaining to a
node.
> YarnScheduler needs to expose Resource Usage Information
> --------------------------------------------------------
>
> Key: MAPREDUCE-3050
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3050
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2, resourcemanager
> Affects Versions: 0.23.0, 0.24.0
> Reporter: Robert Joseph Evans
> Assignee: Robert Joseph Evans
> Priority: Blocker
> Fix For: 0.23.0, 0.24.0
>
> Attachments: MR-3050.txt, MR-3050.txt, MR-3050.txt, MR-3050.txt
>
>
> Before the recent refactor The nodes had information in them about how much
> resources they were using. This information is not hidden inside
> SchedulerNode. Similarly resource usage information about an application, or
> in aggregate is only available through the Scheduler and there is not
> interface to pull it out.
> We need to expose APIs to get Resource and Container information from the
> scheduler, in aggregate across the entire cluster, per application, per node,
> and ideally also per queue if applicable (although there are no JIRAs I am
> aware of that need this right now).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira