You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2016/02/19 02:48:18 UTC

[jira] [Commented] (AMBARI-15077) Auto-start services: Backend API and DB changes for component auto start

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

Hadoop QA commented on AMBARI-15077:
------------------------------------

{color:green}+1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12788565/rb43671.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 2 new or modified test files.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of javac compiler warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in ambari-server.

Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/5458//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/5458//console

This message is automatically generated.

> Auto-start services: Backend API and DB changes for component auto start
> ------------------------------------------------------------------------
>
>                 Key: AMBARI-15077
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15077
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>    Affects Versions: 2.4.0
>            Reporter: Nahappan Somasundaram
>            Assignee: Nahappan Somasundaram
>              Labels: ambari-server
>             Fix For: 2.4.0
>
>         Attachments: rb43671.patch
>
>
> Add a new field *recovery_enabled* in *servicecomponentdesiredstate* and provide API support for PUT and GET.
> *Type: PUT*
> Request 1: api/v1/clusters/<cluster_name>/components?ServiceComponentInfo/component_name.in(<enabled_component_names>)
> Request Params: application/json
> {
> 	ServiceComponentInfo: {
> 		“recovery_enabled”: “true”
> 	}
> }
> Request 2:
> api/v1/clusters/<cluster_name>/components?ServiceComponentInfo/component_name.in(<disabled_component_names>)
> Request Params: application/json
> {
> 	ServiceComponentInfo: {
> 		recovery_enabled: “false”
> 	}
> }
> Request 3:
> api/v1/clusters/testcluster/components/<component_name> 
> Request Params: application/json
> '{"ServiceComponentInfo" : {"recovery_enabled":"false"}}'
> *Type:GET*
> Request: api/v1/clusters/<cluster_name>/components?fields=ServiceComponentInfo/component_name,ServiceComponentInfo/service_name,ServiceComponentInfo/category,ServiceComponentInfo/recovery_enabled



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)