ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sumit Mohanty (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-18270) Host delete should support a force option to delete all components
Date Fri, 04 Nov 2016 21:59:59 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-18270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sumit Mohanty updated AMBARI-18270:
-----------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

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

Mime
View raw message