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

Sam Hjelmfelt commented on YARN-8761:
-------------------------------------

In case anyone else is interested, here is the REST API to decommission a 
component instance (aka container):

 
{code:java}
PUT  /app/v1/services/{service_name}

{
  "components" : 
    [
      {
        "name": "{component_name}",
        "decommissioned_instances": ["{component_instance_name}"]
      }
    ]
}{code}
 

> Service AM support for decommissioning component instances
> ----------------------------------------------------------
>
>                 Key: YARN-8761
>                 URL: https://issues.apache.org/jira/browse/YARN-8761
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Billie Rinaldi
>            Assignee: Billie Rinaldi
>            Priority: Major
>             Fix For: 3.3.0, 3.2.1, 3.1.3
>
>         Attachments: YARN-8761-branch-3.1.01.patch, YARN-8761.01.patch, 
> YARN-8761.02.patch, YARN-8761.03.patch, YARN-8761.04.patch, YARN-8761.05.patch
>
>
> The idea behind this feature is to have a flex down where specific component 
> instances are removed. Currently on a flex down, the service AM chooses for 
> removal the component instances with the highest IDs.



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