You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Trevor McKay (JIRA)" <ji...@apache.org> on 2013/05/02 16:56:16 UTC

[jira] [Commented] (AMBARI-2071) Cluster install wizard does not work with client-only service

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

Trevor McKay commented on AMBARI-2071:
--------------------------------------

This seems to be because the response to the PUT has 0 content, and the UI is expecting a response.  From Firebug:

Request is http://localhost:8080/api/v1/clusters/test14/services?ServiceInfo/state=INSTALLED
Source is {"ServiceInfo": {"state": "STARTED"}}

Response Headers
Content-Length	0
Content-Type	text/plain
Server	Jetty(7.6.7.v20120910)

Response status is 200 OK


** Note, if a service check is added for this service, the install will complete.  The service check causes a non-zero IN_PROGRESS response because stage creation does not return a null value.  However, this workaround seems to only be successful on a single host when the cluster involves multiple hosts because the service check is only run on a single host (theory).
                
> Cluster install wizard does not work with client-only service
> -------------------------------------------------------------
>
>                 Key: AMBARI-2071
>                 URL: https://issues.apache.org/jira/browse/AMBARI-2071
>             Project: Ambari
>          Issue Type: Bug
>          Components: controller
>    Affects Versions: 1.2.0
>         Environment: Fedora 16, branch-1.2
>            Reporter: Trevor McKay
>
> If the cluster install wizard is used to install a single client only service, the wizard will hang after trying to move the service from INSTALLED -> STARTED.

--
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