[
https://issues.apache.org/jira/browse/AMBARI-8929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Levas updated AMBARI-8929:
---------------------------------
Attachment: AMBARI-8929_01.patch
Added default implementation of {{security_status}} method to {{Script}} class.
Patch File [^AMBARI-8929_01.patch]
> Agent is spamming logs with tracebacks of "Error while executing command
> \'security_status\"
> --------------------------------------------------------------------------------------------
>
> Key: AMBARI-8929
> URL: https://issues.apache.org/jira/browse/AMBARI-8929
> Project: Ambari
> Issue Type: Bug
> Components: ambari-agent, stacks
> Affects Versions: 2.0.0
> Reporter: Robert Levas
> Assignee: Robert Levas
> Labels: kerberos, security
> Fix For: 2.0.0
>
> Attachments: AMBARI-8929_01.patch
>
>
> The ambari-agent log is filling up with messages like
> {code}
> 2014-12-24 21:14:02,209 - Error while executing command \'security_status\':
> Traceback (most recent call last):
> File
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
> line 150, in execute
> method = self.choose_method_to_execute(command_name)
> File
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
> line 168,
> in choose_method_to_execute
> raise Fail("Script \'{0}\' has no method \'{1}\'".format(sys.argv[0],
> command_name))
> Fail: Script
> \'/var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/scripts/hbase_master.py\'
> has no method \'security_status\'
> {code}
> This should be corrected by adding a default implementation to avoid such
> messages.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)