[
https://issues.apache.org/jira/browse/YARN-8685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16585910#comment-16585910
]
Weiwei Yang commented on YARN-8685:
-----------------------------------
Hi [~Tao Yang]
Does it make more sense to extend NM containers rest API for this? E.g add a
filter (by state). If we maintain two classes for container info, we'll end up
modifying both if anything changed. Better to avoid that. What do you think?
> Add containers query support for nodes/node REST API in RMWebServices
> ---------------------------------------------------------------------
>
> Key: YARN-8685
> URL: https://issues.apache.org/jira/browse/YARN-8685
> Project: Hadoop YARN
> Issue Type: Improvement
> Components: restapi
> Affects Versions: 3.2.0
> Reporter: Tao Yang
> Assignee: Tao Yang
> Priority: Major
> Attachments: YARN-8685.001.patch
>
>
> Currently we can only query running containers from NM containers REST API,
> but can't get the valid containers which are in ALLOCATED/ACQUIRED state. We
> have the requirements to get all containers allocated on specified nodes for
> debugging. I want to add a "includeContainers" query param (default false)
> for nodes/node REST API in RMWebServices, so that we can get valid containers
> on nodes if "includeContainers=true" specified.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]