[
https://issues.apache.org/jira/browse/SLIDER-579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14188417#comment-14188417
]
Steve Loughran commented on SLIDER-579:
---------------------------------------
{code}
{
"applicationId" : "application_1414594512148_0002",
"applicationAttemptId" : "appattempt_1414594512148_0002_000001",
"name" : "testfreezethawflexstandaloneam",
"applicationType" : "org-apache-slider",
"user" : "stevel",
"queue" : "default",
"host" : "stevel-763.local",
"rpcPort" : 57047,
"state" : "RUNNING",
"diagnostics" : "",
"startTime" : 1414594524285,
"finishTime" : 0,
"finalStatus" : "UNDEFINED",
"progress" : 0.0
}
{code}
> Add CLI operations/--out args to get the app reports of launched apps
> ---------------------------------------------------------------------
>
> Key: SLIDER-579
> URL: https://issues.apache.org/jira/browse/SLIDER-579
> Project: Slider
> Issue Type: Sub-task
> Components: client, test
> Reporter: Steve Loughran
> Assignee: Steve Loughran
> Fix For: Slider 0.60
>
>
> add a way for functional tests to get the app Id and app report of a launched
> app -reliably.
> Currently the exists/list operations are approximate as they are looking for
> "an instance" rather than the specific one launched.
> Proposed
> # add a JSON-serialized form of an app report
> # add a {{--out}} operation on the create/start operations to save this to a
> file (Before entering any --wait action)
> # add a {{lookup --id <appid> --out <file>}} action to look up any YARN app
> and generate the report.
> Test runs can then
> * get the app id of the launched app
> * retrieve & parse the app report
> * use that in failure messages
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)