[
https://issues.apache.org/jira/browse/AMBARI-10385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16825913#comment-16825913
]
Amit Bhardwaj commented on AMBARI-10385:
----------------------------------------
Is this being worked upon? This feature/improvement will fasten the overall
cluster formation process along with recovery time in case of failed nodes.
> On nodes that already have packages pre-installed, Ambari should skip install
> altogether
> ----------------------------------------------------------------------------------------
>
> Key: AMBARI-10385
> URL: https://issues.apache.org/jira/browse/AMBARI-10385
> Project: Ambari
> Issue Type: Improvement
> Components: ambari-agent, ambari-server
> Reporter: Sumit Mohanty
> Priority: Major
> Fix For: 2.3.0
>
>
> Especially in hosted deployment settings, its beneficial to create VM images
> with all packages pre-installed. When Ambari is used to deploy hadoop on such
> hosts, INSTALL operation should not be needed. The way INSTALL is implemented
> by Ambari today there are potentially three ways to skip installation.
> 1. *Skip installation commands*
> In this approach, Ambari Server should not issue install commands and
> silently move all components to {{INSTALLED}} state. This solution is ideal
> as it will eliminate command creation, execution etc. This approach will
> require:
> ** Modification to Ambari Server internal state machine to handle transparent
> transition through INSTALL phase.
> ** Introduce explicit CONFIGURE commands to configure the clients
> ** Ensure that none of the stack definitions do anything more than installing
> packages
> As a work-around, agents can be made to short-circuit INSTALL calls. This is
> if Ambari Server internal state machine needs to issue INSTALL command. The
> pre-conditions of CONFIGURE command a a clean implementation of install()
> functions still remain.
> 2. *Skip install_package() calls*
> In this approach, Ambari Server does not change but a configuration allows
> Agents to skip doing any work when install_package() is called.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)