[
https://issues.apache.org/jira/browse/AMBARI-17342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15343970#comment-15343970
]
Hudson commented on AMBARI-17342:
---------------------------------
FAILURE: Integrated in Ambari-trunk-Commit #5129 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/5129/])
AMBARI-17342 Ambari agent log contains failures for AMS status commands (dsen:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=b3370d96735b2e7691399af34e383dd10c143663])
*
ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_collector.py
*
ambari-server/src/test/python/stacks/2.0.6/AMBARI_METRICS/test_metrics_collector.py
> 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)