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

Weiwei Yang commented on YARN-8685:
-----------------------------------

Hi [~Tao Yang]
{quote}There is a ContainerInfo class in hadoop-yarn-server-common module, the 
patch can share this class with adding several fields like 
allocationRequestId/version/allocationTags
{quote}
Correct.

How about my suggestion about adding a new endpoint in RM? Does that make sense 
to you?

Thanks

> 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]

Reply via email to