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

Srimanth Gunturi updated AMBARI-8113:
-------------------------------------
    Attachment: AMBARI-8113.patch

The problem was that the call to 
{{api/v1/views/SLIDER/versions/1.0.0/instances/sv1}} automatically attempts to 
get apps - which causes the view to fail before even attempting to check 
service states. Changed the code to 
{{api/v1/views/SLIDER/versions/1.0.0/instances/sv1?fields=ViewInstanceInfo}} so 
that YARN service is not accessed, and 
{{api/v1/views/SLIDER/versions/1.0.0/instances/sv1/resources/status}} is called 
to determine exact state of YARN service.

> Slider View: Stopped YARN service needs appropriate message
> -----------------------------------------------------------
>
>                 Key: AMBARI-8113
>                 URL: https://issues.apache.org/jira/browse/AMBARI-8113
>             Project: Ambari
>          Issue Type: Bug
>          Components: contrib
>    Affects Versions: 1.7.0
>            Reporter: Srimanth Gunturi
>            Assignee: Srimanth Gunturi
>             Fix For: 1.7.0
>
>         Attachments: AMBARI-8113.patch, Screen Shot 2014-11-02 at 4.12.39 
> PM.png
>
>
> When YARN service is stopped, slider view attempts to get apps and ends up 
> with a cryptic message saying "timeout". Instead the message should be more 
> descriptive of why the timeout happened (YARN is stopped).



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

Reply via email to