You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "Gour Saha (JIRA)" <ji...@apache.org> on 2017/01/25 01:39:26 UTC
[jira] [Resolved] (SLIDER-1187) Create app diagnostics resource
with placeholder for containers (live/dead)
[ https://issues.apache.org/jira/browse/SLIDER-1187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gour Saha resolved SLIDER-1187.
-------------------------------
Resolution: Fixed
Thanks [~billie.rinaldi] for the review. Committed to develop.
> Create app diagnostics resource with placeholder for containers (live/dead)
> ---------------------------------------------------------------------------
>
> Key: SLIDER-1187
> URL: https://issues.apache.org/jira/browse/SLIDER-1187
> Project: Slider
> Issue Type: Sub-task
> Components: appmaster, client
> Affects Versions: Slider 0.91
> Reporter: Gour Saha
> Assignee: Gour Saha
> Fix For: Slider 1.0.0
>
> Attachments: SLIDER-1187.001.patch, SLIDER-1187.002.patch, SLIDER-1187.003.patch, SLIDER-1187.004.patch
>
>
> This is a sample JSON structure of the proposed diagnostics resource -
> {code}
> {
> "finalStatus": "SUCCEEDED",
> "finalMessage": "stop command issued",
> "containers": [
> {
> "containerId": "container_e3374_1485226679409_0016_01_000004",
> "component": "COMMAND_LOGGER",
> "appVersion": "1.0.0",
> "state": 3,
> "exitCode": -1000,
> "diagnostics": "",
> "createTime": 1485285533968,
> "startTime": 1485285533989,
> "host": "cn008.l42scl.hortonworks.com",
> "hostURL": "http://cn008.l42scl.hortonworks.com:8042",
> "logLink": "http://cn007.l42scl.hortonworks.com:19888/jobhistory/logs/cn008.l42scl.hortonworks.com:45454/container_e3374_1485226679409_0016_01_000004/ctx/root"
> },
> {
> "containerId": "container_e3374_1485226679409_0016_01_000003",
> "component": "COMMAND_LOGGER",
> "appVersion": "1.0.0",
> "state": 3,
> "exitCode": -1000,
> "diagnostics": "",
> "createTime": 1485285120456,
> "startTime": 1485285120723,
> "host": "cn005.l42scl.hortonworks.com",
> "hostURL": "http://cn005.l42scl.hortonworks.com:8042",
> "logLink": "http://cn007.l42scl.hortonworks.com:19888/jobhistory/logs/cn005.l42scl.hortonworks.com:45454/container_e3374_1485226679409_0016_01_000003/ctx/root"
> },
> {
> "containerId": "container_e3374_1485226679409_0016_01_000002",
> "component": "COMMAND_LOGGER",
> "appVersion": "1.0.0",
> "state": 4,
> "exitCode": -100,
> "diagnostics": "Container released by application",
> "createTime": 1485285120464,
> "startTime": 1485285120522,
> "host": "cn008.l42scl.hortonworks.com",
> "hostURL": "http://cn008.l42scl.hortonworks.com:8042",
> "logLink": "http://cn007.l42scl.hortonworks.com:19888/jobhistory/logs/cn008.l42scl.hortonworks.com:45454/container_e3374_1485226679409_0016_01_000002/ctx/root"
> }
> ]
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)