[ 
https://issues.apache.org/jira/browse/AMBARI-2738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13720105#comment-13720105
 ] 

Mahadev konar commented on AMBARI-2738:
---------------------------------------

{code}
-      if (newState == oldSchState) {
+      // Client component reinstall allowed
+      if (newState == oldSchState && !sc.isClientComponent()) {
         sch.setDesiredState(newState);
{code}

What happens we the new desired state is INIT, INSTALL_FAILED, MAINTENANCE for 
the client component?

                
> Allow Client component to be re-installed
> -----------------------------------------
>
>                 Key: AMBARI-2738
>                 URL: https://issues.apache.org/jira/browse/AMBARI-2738
>             Project: Ambari
>          Issue Type: Task
>          Components: controller
>    Affects Versions: 1.3.0
>            Reporter: Siddharth Wagle
>            Assignee: Siddharth Wagle
>             Fix For: 1.3.0
>
>         Attachments: AMBARI-2738.patch
>
>
> In order to push configs to a service host component of type CLIENT that is 
> in INSTALLED state, we need to allow the install execution command to be 
> created. Currently if the current and desired states are the same we treat it 
> as a NoOp.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to