Myroslav Papirkovskyi created AMBARI-25235:
----------------------------------------------

             Summary: Add a sysprep configurations to run conf-selects only a 
single time       
                 Key: AMBARI-25235
                 URL: https://issues.apache.org/jira/browse/AMBARI-25235
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.6.2, 2.7.3
            Reporter: Myroslav Papirkovskyi
            Assignee: Myroslav Papirkovskyi
             Fix For: 2.6.2, 2.7.4


Background:

On the cluster with 5-6 nodes conf-select cycles takes 3 seconds. Trying to 
create conf-dir for every single components. Which makes install stages like 
~25-30seconds for hosts with a lot of clients.

Usually we run conf-select during every task. Since with every single install 
new packages might appear and new conf-select links will be required.

Solution:

If host_sysprep is true, run conf-select cycle only during first task and than 
create a file indicating this was done, so other tasks skip.

Since all packages are preinstalled this should work fine as during first 
single run it will be possible to create all links.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to