You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2018/02/16 13:16:06 UTC
[jira] [Commented] (AMBARI-21646) Race condition causing execution
commands to fail
[ https://issues.apache.org/jira/browse/AMBARI-21646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16367209#comment-16367209 ]
Hudson commented on AMBARI-21646:
---------------------------------
FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #8744 (See [https://builds.apache.org/job/Ambari-trunk-Commit/8744/])
AMBARI-21646. Race condition causing execution commands to fail (aonishuk: [https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=db83ccd8224289e80ca2da5dc95c613ccbaf2492])
* (edit) ambari-agent/src/main/python/ambari_agent/CommandStatusReporter.py
* (edit) ambari-agent/src/main/python/ambari_agent/CommandStatusDict.py
> Race condition causing execution commands to fail
> -------------------------------------------------
>
> Key: AMBARI-21646
> URL: https://issues.apache.org/jira/browse/AMBARI-21646
> Project: Ambari
> Issue Type: Bug
> Reporter: Andrew Onischuk
> Assignee: Andrew Onischuk
> Priority: Major
> Fix For: 3.0.0
>
> Attachments: AMBARI-21646.patch
>
>
> STR:
> 1\. Execution command started
> 2\. Registration failed
> 3\. Execution command finished.
> At this point we try to send an execution command result as not a registered
> agent.
> Which leads to exception on server or agent.
>
>
> ERROR 2017-08-02 13:36:52,524 ActionQueue.py:207 - Exception while processing EXECUTION_COMMAND command
> Traceback (most recent call last):
> File "/usr/lib/python2.6/site-packages/ambari_agent/ActionQueue.py", line 200, in process_command
> self.execute_command(command)
> File "/usr/lib/python2.6/site-packages/ambari_agent/ActionQueue.py", line 410, in execute_command
> self.commandStatuses.put_command_status(command, roleResult)
> File "/usr/lib/python2.6/site-packages/ambari_agent/CommandStatusDict.py", line 59, in put_command_status
> self.force_update_to_server(command['clusterId'], new_report)
> File "/usr/lib/python2.6/site-packages/ambari_agent/CommandStatusDict.py", line 62, in force_update_to_server
> self.initializer_module.connection.send(message={'clusters':{cluster_id: [report]}}, destination=Constants.COMMANDS_STATUS_REPORTS_ENDPOINT)
> File "/usr/lib/python2.6/site-packages/ambari_agent/Utils.py", line 223, in decorated
> v = undecorated(self)
> File "/usr/lib/python2.6/site-packages/ambari_agent/InitializerModule.py", line 102, in connection
> conn.connect(wait=True)
> File "/usr/lib/python2.6/site-packages/ambari_stomp/protocol.py", line 505, in connect
> self.transport.wait_for_connection()
> File "/usr/lib/python2.6/site-packages/ambari_stomp/adapter/websocket.py", line 83, in wait_for_connection
> raise ConnectionResponseTimeout("Waiting for connection confirmation timed out")
> ConnectionResponseTimeout: Waiting for connection confirmation timed out
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)