[ https://issues.apache.org/jira/browse/YARN-8299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16545719#comment-16545719 ]
Gour Saha commented on YARN-8299: --------------------------------- Just thinking aloud. Would returning the data in this format make more sense? This would maintain consistency with the status command output as well - {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 Upgrade: Add GET APIs that returns instances matching query > params > ------------------------------------------------------------------------------- > > Key: YARN-8299 > URL: https://issues.apache.org/jira/browse/YARN-8299 > Project: Hadoop YARN > Issue Type: Sub-task > Reporter: Chandni Singh > Assignee: Chandni Singh > Priority: Major > Attachments: YARN-8299.001.patch, YARN-8299.002.patch, > YARN-8299.003.patch, YARN-8299.004.patch, YARN-8299.005.patch > > > We need APIs that returns containers that match the query params. These are > needed so that we can find out what containers have been upgraded. -- 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