Github user mmiklavc commented on the issue:

    https://github.com/apache/metron/pull/894
  
    Upon investigation, this looks ok. But there is a permissions issue with 
the service script. We have some environments that don't have this issue so I'm 
looking for an appropriate place to correct this.
    
    ```
    INFO 2018-01-10 19:51:59,540 PythonReflectiveExecutor.py:65 - Reflective 
command failed with exception:
    Traceback (most recent call last):
      File 
"/usr/lib/python2.6/site-packages/ambari_agent/PythonReflectiveExecutor.py", 
line 57, in run_file
        imp.load_source('__main__', script)
      File 
"/var/lib/ambari-agent/cache/common-services/ELASTICSEARCH/5.6.2/package/scripts/elastic_master.py",
 line 94, in <module>
        Elasticsearch().execute()
      File 
"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
 line 280, in execute
        method(env)
      File 
"/var/lib/ambari-agent/cache/common-services/ELASTICSEARCH/5.6.2/package/scripts/elastic_master.py",
 line 82, in status
        raise ExecutionFailed(err_msg, rc, out, err)
    ExecutionFailed: Execution of 'service elasticsearch status' returned 126
    ```
    
    ```
    [elasticsearch@node1 ambari-agent]$ service elasticsearch status
    env: /etc/init.d/elasticsearch: Permission denied
    ```


---

Reply via email to