[jira] [Resolved] (SLIDER-1187) Create app diagnostics resource with placeholder for containers (live/dead)

2017-01-24 Thread Gour Saha (JIRA)

 [ 
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_04", 
>   "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_04/ctx/root";
> }, 
> {
>   "containerId": "container_e3374_1485226679409_0016_01_03", 
>   "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_03/ctx/root";
> }, 
> {
>   "containerId": "container_e3374_1485226679409_0016_01_02", 
>   "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_02/ctx/root";
> }
>   ]
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (SLIDER-1187) Create app diagnostics resource with placeholder for containers (live/dead)

2017-01-24 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on SLIDER-1187:
-

Commit 9644fd34145174892c88d29cce4581f8a7c59e77 in incubator-slider's branch 
refs/heads/develop from [~gsaha]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-slider.git;h=9644fd3 ]

SLIDER-1187 Create app diagnostics resource with placeholder for containers 
(live/dead)


> 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_04", 
>   "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_04/ctx/root";
> }, 
> {
>   "containerId": "container_e3374_1485226679409_0016_01_03", 
>   "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_03/ctx/root";
> }, 
> {
>   "containerId": "container_e3374_1485226679409_0016_01_02", 
>   "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_02/ctx/root";
> }
>   ]
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Resolved] (SLIDER-1188) Make AM agent heartbeat loss configurable / increase default

2017-01-24 Thread Billie Rinaldi (JIRA)

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

Billie Rinaldi resolved SLIDER-1188.

Resolution: Fixed

> Make AM agent heartbeat loss configurable / increase default
> 
>
> Key: SLIDER-1188
> URL: https://issues.apache.org/jira/browse/SLIDER-1188
> Project: Slider
>  Issue Type: Bug
>Reporter: Billie Rinaldi
>Assignee: Billie Rinaldi
> Fix For: Slider 1.0.0
>
> Attachments: SLIDER-1188.1.patch, SLIDER-1188.2.patch, 
> SLIDER-1188.3.patch
>
>
> Currently containers are marked as lost after a couple of minutes, which is 
> too sensitive for a busy cluster. We should increase the defaults and make 
> the container timeout configurable. We may also want to increase the number 
> of times the agent will retry heartbeating to the AM.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (SLIDER-1188) Make AM agent heartbeat loss configurable / increase default

2017-01-24 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on SLIDER-1188:
-

Commit f0cd53ef1dfd540e5dfc86cb46e92e66d8f0773b in incubator-slider's branch 
refs/heads/develop from [~billie.rinaldi]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-slider.git;h=f0cd53e ]

SLIDER-1188 Make AM agent heartbeat loss configurable / increase default.


> Make AM agent heartbeat loss configurable / increase default
> 
>
> Key: SLIDER-1188
> URL: https://issues.apache.org/jira/browse/SLIDER-1188
> Project: Slider
>  Issue Type: Bug
>Reporter: Billie Rinaldi
>Assignee: Billie Rinaldi
> Fix For: Slider 1.0.0
>
> Attachments: SLIDER-1188.1.patch, SLIDER-1188.2.patch, 
> SLIDER-1188.3.patch
>
>
> Currently containers are marked as lost after a couple of minutes, which is 
> too sensitive for a busy cluster. We should increase the defaults and make 
> the container timeout configurable. We may also want to increase the number 
> of times the agent will retry heartbeating to the AM.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (SLIDER-1188) Make AM agent heartbeat loss configurable / increase default

2017-01-24 Thread Gour Saha (JIRA)

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

Gour Saha commented on SLIDER-1188:
---

[~billie.rinaldi] it totally makes sense to split the agent side of effort to a 
separate jira. Reviewed the .3 patch again and saw that only the agent code was 
removed compared to .1 patch. Ran all unit tests successfully.

+1 for the .3 patch. Please commit.


> Make AM agent heartbeat loss configurable / increase default
> 
>
> Key: SLIDER-1188
> URL: https://issues.apache.org/jira/browse/SLIDER-1188
> Project: Slider
>  Issue Type: Bug
>Reporter: Billie Rinaldi
>Assignee: Billie Rinaldi
> Fix For: Slider 1.0.0
>
> Attachments: SLIDER-1188.1.patch, SLIDER-1188.2.patch, 
> SLIDER-1188.3.patch
>
>
> Currently containers are marked as lost after a couple of minutes, which is 
> too sensitive for a busy cluster. We should increase the defaults and make 
> the container timeout configurable. We may also want to increase the number 
> of times the agent will retry heartbeating to the AM.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (SLIDER-1187) Create app diagnostics resource with placeholder for containers (live/dead)

2017-01-24 Thread Billie Rinaldi (JIRA)

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

Billie Rinaldi commented on SLIDER-1187:


+1, patch 4 lgtm.

> 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_04", 
>   "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_04/ctx/root";
> }, 
> {
>   "containerId": "container_e3374_1485226679409_0016_01_03", 
>   "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_03/ctx/root";
> }, 
> {
>   "containerId": "container_e3374_1485226679409_0016_01_02", 
>   "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_02/ctx/root";
> }
>   ]
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (SLIDER-1187) Create app diagnostics resource with placeholder for containers (live/dead)

2017-01-24 Thread Gour Saha (JIRA)

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

Gour Saha updated SLIDER-1187:
--
Attachment: SLIDER-1187.004.patch

Oops, my bad. Forgot to clean them up after the move. Uploading 004 patch with 
those 2 methods removed.

> 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_04", 
>   "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_04/ctx/root";
> }, 
> {
>   "containerId": "container_e3374_1485226679409_0016_01_03", 
>   "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_03/ctx/root";
> }, 
> {
>   "containerId": "container_e3374_1485226679409_0016_01_02", 
>   "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_02/ctx/root";
> }
>   ]
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (SLIDER-1187) Create app diagnostics resource with placeholder for containers (live/dead)

2017-01-24 Thread Billie Rinaldi (JIRA)

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

Billie Rinaldi commented on SLIDER-1187:


SliderAppMaster#storeContainerDiagnostics and AppState#getLiveLogLink are 
unused. Otherwise looks good; I am running a test now.

> 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
>
>
> 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_04", 
>   "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_04/ctx/root";
> }, 
> {
>   "containerId": "container_e3374_1485226679409_0016_01_03", 
>   "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_03/ctx/root";
> }, 
> {
>   "containerId": "container_e3374_1485226679409_0016_01_02", 
>   "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_02/ctx/root";
> }
>   ]
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (SLIDER-1187) Create app diagnostics resource with placeholder for containers (live/dead)

2017-01-24 Thread Gour Saha (JIRA)

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

Gour Saha updated SLIDER-1187:
--
Description: 
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_04", 
  "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_04/ctx/root";
}, 
{
  "containerId": "container_e3374_1485226679409_0016_01_03", 
  "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_03/ctx/root";
}, 
{
  "containerId": "container_e3374_1485226679409_0016_01_02", 
  "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_02/ctx/root";
}
  ]
}
{code}


> 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
>
>
> 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_04", 
>   "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_04/ctx/root";
> }, 
> {
>   "containerId": "container_e3374_1485226679409_0016_01_03", 
>   "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_03/ctx/root";
> }, 
> {
>   "containerId": "container_e3374_1485226679409_0016_01_02", 
>   "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_02/ctx/root";
> }
>   ]
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (SLIDER-1187) Create app diagnostics resource with placeholder for containers (live/dead)

2017-01-24 Thread Gour Saha (JIRA)

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

Gour Saha updated SLIDER-1187:
--
Attachment: SLIDER-1187.003.patch

Please ignore patch 002. I uploaded patch 003 which is exactly same as 002 but 
with getters introduced for ContainerInformation.java.

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




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)