[ https://issues.apache.org/jira/browse/AMBARI-17342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dmytro Sen updated AMBARI-17342: -------------------------------- Status: Patch Available (was: Open) > Ambari agent log contains failures for AMS status commands > ---------------------------------------------------------- > > Key: AMBARI-17342 > URL: https://issues.apache.org/jira/browse/AMBARI-17342 > Project: Ambari > Issue Type: Bug > Components: stacks > Affects Versions: 2.4.0 > Reporter: Dmytro Sen > Assignee: Dmytro Sen > Priority: Blocker > Fix For: 2.4.0 > > Attachments: AMBARI-17342.patch > > > Ambari agent logs contain failures for status commands for AMS collector is > status command is executed before AMS collector is actually installed. > Reproduced on blueprint deployments > {code} > INFO 2016-06-15 08:48:17,190 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/AMBARI_METRICS/0.1.0/package/scripts/metrics_collector.py", > line 143, in <module> > AmsCollector().execute() > File > "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", > line 257, in execute > method(env) > File > "/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_collector.py", > line 98, in security_status > is_hbase_distributed = > security_params['hbase-site']['hbase.cluster.distributed'] > KeyError: 'hbase.cluster.distributed' > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)