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

Eric Yang updated YARN-8542:
----------------------------
    Description: 
In YARN-8299, CLI for query container status is implemented to display 
containers in a flat list.  It might be helpful to display component structure 
hierarchy like this:

{code}
[
  {
    "name": "ping",
    "containers": [
      {
        "bare_host": "eyang-4.openstacklocal",
        "component_instance_name": "ping-0",
        "hostname": "ping-0.qqq.hbase.ycluster",
        "id": "container_1531765479645_0002_01_000002",
        "ip": "172.26.111.21",
        "launch_time": 1531767377301,
        "state": "READY"
      },
      {
        "bare_host": "eyang-4.openstacklocal",
        "component_instance_name": "ping-1",
        "hostname": "ping-1.qqq.hbase.ycluster",
        "id": "container_1531765479645_0002_01_000007",
        "ip": "172.26.111.21",
        "launch_time": 1531767410395,
        "state": "RUNNING_BUT_UNREADY"
      }
    ]
  },
  {
    "name": "sleep",
    "containers": [
      {
        "bare_host": "eyang-5.openstacklocal",
        "component_instance_name": "sleep-0",
        "hostname": "sleep-0.qqq.hbase.ycluster",
        "id": "container_1531765479645_0002_01_000004",
        "ip": "172.26.111.20",
        "launch_time": 1531767377710,
        "state": "READY"
      },
      {
        "bare_host": "eyang-4.openstacklocal",
        "component_instance_name": "sleep-1",
        "hostname": "sleep-1.qqq.hbase.ycluster",
        "id": "container_1531765479645_0002_01_000005",
        "ip": "172.26.111.21",
        "launch_time": 1531767378303,
        "state": "READY"
      }
    ]
  }
]
{code}

> 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
>
> In YARN-8299, CLI for query container status is implemented to display 
> containers in a flat list.  It might be helpful to display component 
> structure hierarchy like this:
> {code}
> [
>   {
>     "name": "ping",
>     "containers": [
>       {
>         "bare_host": "eyang-4.openstacklocal",
>         "component_instance_name": "ping-0",
>         "hostname": "ping-0.qqq.hbase.ycluster",
>         "id": "container_1531765479645_0002_01_000002",
>         "ip": "172.26.111.21",
>         "launch_time": 1531767377301,
>         "state": "READY"
>       },
>       {
>         "bare_host": "eyang-4.openstacklocal",
>         "component_instance_name": "ping-1",
>         "hostname": "ping-1.qqq.hbase.ycluster",
>         "id": "container_1531765479645_0002_01_000007",
>         "ip": "172.26.111.21",
>         "launch_time": 1531767410395,
>         "state": "RUNNING_BUT_UNREADY"
>       }
>     ]
>   },
>   {
>     "name": "sleep",
>     "containers": [
>       {
>         "bare_host": "eyang-5.openstacklocal",
>         "component_instance_name": "sleep-0",
>         "hostname": "sleep-0.qqq.hbase.ycluster",
>         "id": "container_1531765479645_0002_01_000004",
>         "ip": "172.26.111.20",
>         "launch_time": 1531767377710,
>         "state": "READY"
>       },
>       {
>         "bare_host": "eyang-4.openstacklocal",
>         "component_instance_name": "sleep-1",
>         "hostname": "sleep-1.qqq.hbase.ycluster",
>         "id": "container_1531765479645_0002_01_000005",
>         "ip": "172.26.111.21",
>         "launch_time": 1531767378303,
>         "state": "READY"
>       }
>     ]
>   }
> ]
> {code}



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