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

Jayush Luniya commented on AMBARI-15678:
----------------------------------------

[~masatana] Not sure on why it cant be assigned to you, but I committed the 
patch for you. Thanks for the contribution.

commit 108a1209b4724f365bc53da55919d544dcff70bd
Author: Jayush Luniya <[email protected]>
Date:   Fri Apr 22 13:35:35 2016 -0700

    AMBARI-15678: YARN service_check doesn't fail when application status is 
not reasonable (Masahiro Tanaka via jluniya)

> YARN service_check doesn't fail when application status is not reasonable
> -------------------------------------------------------------------------
>
>                 Key: AMBARI-15678
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15678
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: trunk
>         Environment: CentOS 6.5
>            Reporter: Masahiro TANAKA
>            Assignee: Jayush Luniya
>              Labels: easyfix, patch-available
>         Attachments: AMBARI-15678.patch, AMBARI-15678.v2.patch
>
>
> If yarn app state is not state or yarn app finalStatus is not succeeded, YARN 
> service check should fail.
> But in the YARN 
> [service_check.py|https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/service_check.py#L130],
>  it doesn't fail because raise statement is in try block and there is only 
> `pass` in except block.



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

Reply via email to