ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Masahiro TANAKA (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-15678) YARN service_check doesn't fail when application status is not reasonable
Date Sun, 03 Apr 2016 08:37:25 GMT
Masahiro TANAKA created AMBARI-15678:
----------------------------------------

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


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)

Mime
View raw message