[ 
https://issues.apache.org/jira/browse/AMBARI-24174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Siddharth Wagle updated AMBARI-24174:
-------------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

> 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
>              Labels: pull-request-available
>             Fix For: 2.7.0
>
>         Attachments: AMBARI-24174.patch, AMBARI-24174.patch
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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)

Reply via email to