[
https://issues.apache.org/jira/browse/AMBARI-15795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15236480#comment-15236480
]
Hudson commented on AMBARI-15795:
---------------------------------
FAILURE: Integrated in Ambari-trunk-Commit #4635 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/4635/])
AMBARI-15795. Parallel execution should only be allowed on commands that
(smohanty:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=1a7c781ce5340e332dc182c2c93d010cf0eec902])
* ambari-agent/src/test/python/ambari_agent/TestActionQueue.py.orig
* ambari-agent/src/test/python/ambari_agent/TestActionQueue.py
* ambari-agent/src/main/python/ambari_agent/ActionQueue.py
Revert "AMBARI-15795. Parallel execution should only be allowed on (smohanty:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=995fc0be488d45bd9b44e412e034565267649a1a])
* ambari-agent/src/test/python/ambari_agent/TestActionQueue.py.orig
* ambari-agent/src/main/python/ambari_agent/ActionQueue.py
* ambari-agent/src/test/python/ambari_agent/TestActionQueue.py
AMBARI-15795. Parallel execution should only be allowed on commands that
(smohanty:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=1046c8fec72285dee07342afd8ff941a000a6718])
* ambari-agent/src/test/python/ambari_agent/TestActionQueue.py
* ambari-agent/src/main/python/ambari_agent/ActionQueue.py
> Parallel execution should only be allowed on commands that have auto retry
> enabled
> ----------------------------------------------------------------------------------
>
> Key: AMBARI-15795
> URL: https://issues.apache.org/jira/browse/AMBARI-15795
> Project: Ambari
> Issue Type: Bug
> Components: ambari-agent
> Affects Versions: 2.2.2
> Reporter: Sumit Mohanty
> Assignee: Sumit Mohanty
> Fix For: 2.2.2
>
> Attachments: AMBARI-15795.patch
>
>
> Parallel execution of commands can result in failures if the commands process
> resources that are shared among the commands. For example, commands may check
> and delete the same file resource. Deleting a file resource that is already
> deleted is not a functional error but its does result in command failure.
> Its not always possible to guarantee that stack scripts are written with
> guards that can check the failure and then determine if its harmless or not.
> Auto retry is a way to get around failures due to resource contention - think
> eventual success. Try all commands in parallel - then try only the failed
> ones. Each command is idempotent by definition so after a few retries all
> commands succeed.
> When commands without auto-retry option are executed in parallel then there
> is no option to retry. This is not desirable.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)