Sumit Mohanty created AMBARI-18270:
--------------------------------------
Summary: 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: 3.0.0
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)