Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-15678

YARN service_check doesn't fail when application status is not reasonable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • trunk
    • None
    • ambari-server
    • CentOS 6.5

    • Patch

    Description

      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, it doesn't fail because raise statement is in try block and there is only `pass` in except block.

      Attachments

        1. AMBARI-15678.patch
          2 kB
          Masahiro Tanaka
        2. AMBARI-15678.v2.patch
          2 kB
          Masahiro Tanaka

        Issue Links

          Activity

            People

              jluniya Jayush Luniya
              masatana Masahiro Tanaka
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: