You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2018/06/23 09:20:00 UTC
[jira] [Updated] (AMBARI-24174) Agent failed to process execution
command
[ https://issues.apache.org/jira/browse/AMBARI-24174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Onischuk updated AMBARI-24174:
-------------------------------------
Attachment: AMBARI-24174.patch
> Agent failed to process execution command
> -----------------------------------------
>
> Key: AMBARI-24174
> URL: https://issues.apache.org/jira/browse/AMBARI-24174
> Project: Ambari
> Issue Type: Bug
> Reporter: Andrew Onischuk
> Assignee: Andrew Onischuk
> Priority: Major
> Fix For: 2.7.0
>
> Attachments: AMBARI-24174.patch
>
>
> Some execution commands were failed during blueprint deploy:
>
>
>
> ERROR 2018-06-19 22:29:28,058 ActionQueue.py:221 - Exception while processing EXECUTION_COMMAND command
> Traceback (most recent call last):
> File "/usr/lib/ambari-agent/lib/ambari_agent/ActionQueue.py", line 214, in process_command
> self.execute_command(command)
> File "/usr/lib/ambari-agent/lib/ambari_agent/ActionQueue.py", line 352, in execute_command
> commandresult['stdout'] += '\n\nCommand completed successfully!\n' if status == self.COMPLETED_STATUS else '\n\nCommand failed after ' + str(numAttempts) + ' tries\n'
> UnboundLocalError: local variable 'commandresult' referenced before assignment
> INFO 2018-06-19 22:29:28,100 ActionQueue.py:238 - Executing command with id = 4-0, taskId = 5 for role = MAPREDUCE2_CLIENT of cluster_id 2.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)