You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Jayush Luniya (JIRA)" <ji...@apache.org> on 2016/10/20 17:25:59 UTC

[jira] [Updated] (AMBARI-16145) Add dryrun API for host delete

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

Jayush Luniya updated AMBARI-16145:
-----------------------------------
    Attachment: rb46750.patch

> Add dryrun API for host delete 
> -------------------------------
>
>                 Key: AMBARI-16145
>                 URL: https://issues.apache.org/jira/browse/AMBARI-16145
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>    Affects Versions: 2.4.0
>            Reporter: Ajit Kumar
>            Assignee: Ajit Kumar
>             Fix For: 2.4.0
>
>         Attachments: rb46750.patch
>
>
> Add dryrun API for host delete 
> API should be take dry_run directive and check if requested host can be deleted w/o deleting the host and should return error if any, like host is not in delete friendly state.
> {code}
> curl -i -X DELETE -u admin:admin -H 'X-Requested-By:ambari' 'http://localhost:8080/api/v1/clusters/c1/hosts?dry_run=true&Hosts/host_name=c6401.ambari.apache.org'
> {code}
> It should also support bulk delete format



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