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

Hudson commented on AMBARI-18270:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-branch-2.5 #91 (See 
[https://builds.apache.org/job/Ambari-branch-2.5/91/])
AMBARI-18270. Host delete should support a force option to delete all 
(smohanty: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=4ab67effae84a00e86e4ad9ca0bd1737d6eea11f])
* (edit) 
ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariManagementControllerTest.java
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostResourceProvider.java
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/RequestImpl.java
* (edit) 
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/HostResourceProviderTest.java


> Host delete should support a force option to delete all components
> ------------------------------------------------------------------
>
>                 Key: AMBARI-18270
>                 URL: https://issues.apache.org/jira/browse/AMBARI-18270
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.4.0
>            Reporter: Sumit Mohanty
>            Assignee: Sumit Mohanty
>            Priority: Critical
>             Fix For: trunk
>
>         Attachments: AMBARI-18270.patch
>
>
> AMBARI-15847 added support for bulk host delete but still required deleting 
> components first in each host.
> Thus to make bulk host delete API usable in scenarios where each host may 
> have one or more components, an option should be added to the host delete API 
> to delete all host components if they are in INSTALLED state.
> Sample call:
> {code}
> DELETE http://c6401.ambari.apache.org:8080/api/v1/clusters/c1/hosts
> {"RequestInfo":{"query":"Hosts/host_name.in(c6401.ambari.apache.org,c6402.ambari.apache.org,c6403.ambari.apache.org)",
>  "force_delete_components":"true"}}
> {code}



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

Reply via email to