Uploaded image for project: 'Metron (Retired)'
  1. Metron (Retired)
  2. METRON-1400

Elasticsearch service check fails in Ambari

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • Major
    • Resolution: Done
    • None
    • 0.5.0
    • None

    Description

      This is service check, not to be confused with the status check. ie,

      • service check = dropdown in Ambari service when you click "service actions"- there is an option labeled "service check" which does a more rigorous check on the service than simply an on/off check.
      • status check = the green checkbox or red exclamation next to the service name in Ambari indicating if the thing is running.
      stderr:
      Traceback (most recent call last):
        File "/var/lib/ambari-agent/cache/common-services/ELASTICSEARCH/5.6.2/package/scripts/service_check.py", line 77, in <module>
          ServiceCheck().execute()
        File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 329, in execute
          method(env)
        File "/var/lib/ambari-agent/cache/common-services/ELASTICSEARCH/5.6.2/package/scripts/service_check.py", line 35, in service_check
          Logger.info("Running Elastic search service check", file=sys.stdout)
      TypeError: info() got an unexpected keyword argument 'file'
       stdout:
      
      Command failed after 1 tries
      

      Attachments

        Issue Links

          Activity

            People

              mmiklavcic Michael Miklavcic
              mmiklavcic Michael Miklavcic
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: