[
https://issues.apache.org/jira/browse/AMBARI-8189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14511390#comment-14511390
]
Ivan Mitic commented on AMBARI-8189:
------------------------------------
Thanks Dmitry.
Hm... I am not sure I understand, if parallel execution is disabled, all
commands are executed serially, same way as before. There are no threads being
created based on what I can tell... can you please check the patch and let us
know which piece causes parallel execution?
{code}
+ if self.parallel_execution == 0:
+ command = self.commandQueue.get(True,
self.EXECUTION_COMMAND_WAIT_TIME)
+ self.process_command(command)
{code}
> Ambari agent support for parallel task execution during deployment
> ------------------------------------------------------------------
>
> Key: AMBARI-8189
> URL: https://issues.apache.org/jira/browse/AMBARI-8189
> Project: Ambari
> Issue Type: Task
> Affects Versions: 2.0.0
> Reporter: Ivan Mitic
> Assignee: Ivan Mitic
> Fix For: 2.1.0
>
> Attachments: AMBARI-8189.2.patch, AMBARI-8189.patch
>
>
> Ambari serializes all operations on the node, and by actually parallelizing
> the independent setup activities, deployment time would significantly
> decrease. Ambari stack definition already defines a notion of service
> dependencies, so some basic infra requirements for parallel execution are
> already in place.
> This is a tracking Jira where we can discuss this proposal and work on the
> design/prototype and patch.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)