[ 
https://issues.apache.org/jira/browse/YARN-8542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chandni Singh updated YARN-8542:
--------------------------------
    Description: 
GET app/v1/services/{\{service-name}}/component-instances returns a list of 
containers with YARN-8299.
{code:java}
[
{
"id": "container_1531508836237_0001_01_000003",
"ip": "192.168.2.51",
"hostname": "HW12119.local",
"state": "READY",
"launch_time": 1531509014497,
"bare_host": "192.168.2.51",
"component_instance_name": "sleeper-1"
},
{
"id": "container_1531508836237_0001_01_000002",
"ip": "192.168.2.51",
"hostname": "HW12119.local",
"state": "READY",
"launch_time": 1531509013492,
"bare_host": "192.168.2.51",
"component_instance_name": "sleeper-0"
}
]{code}
{{component_name}} is not part of container json, so it is hard to tell which 
component an instance belongs to. 
Change the list of containers return 

  was:
GET app/v1/services/{\{service-name}}/component-instances returns a list of 
containers with YARN-8299.
{code:java}
[
{
"id": "container_1531508836237_0001_01_000003",
"ip": "192.168.2.51",
"hostname": "HW12119.local",
"state": "READY",
"launch_time": 1531509014497,
"bare_host": "192.168.2.51",
"component_instance_name": "sleeper-1"
},
{
"id": "container_1531508836237_0001_01_000002",
"ip": "192.168.2.51",
"hostname": "HW12119.local",
"state": "READY",
"launch_time": 1531509013492,
"bare_host": "192.168.2.51",
"component_instance_name": "sleeper-0"
}
]{code}
{{component_name}} is not part of container json, so it is hard to tell which 
component an instance belongs to. 


> Yarn Service: Add component name to container json
> --------------------------------------------------
>
>                 Key: YARN-8542
>                 URL: https://issues.apache.org/jira/browse/YARN-8542
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Chandni Singh
>            Assignee: Chandni Singh
>            Priority: Major
>
> GET app/v1/services/{\{service-name}}/component-instances returns a list of 
> containers with YARN-8299.
> {code:java}
> [
> {
> "id": "container_1531508836237_0001_01_000003",
> "ip": "192.168.2.51",
> "hostname": "HW12119.local",
> "state": "READY",
> "launch_time": 1531509014497,
> "bare_host": "192.168.2.51",
> "component_instance_name": "sleeper-1"
> },
> {
> "id": "container_1531508836237_0001_01_000002",
> "ip": "192.168.2.51",
> "hostname": "HW12119.local",
> "state": "READY",
> "launch_time": 1531509013492,
> "bare_host": "192.168.2.51",
> "component_instance_name": "sleeper-0"
> }
> ]{code}
> {{component_name}} is not part of container json, so it is hard to tell which 
> component an instance belongs to. 
> Change the list of containers return 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to