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

Praveen Kumar K J V S updated AMBARI-25449:
-------------------------------------------
    Description: 
When calling the bulk delete API, for example 

 
 {{curl -k -u admin:admin -H }}{{"X-Requested-By: ambari"}} {{-X DELETE}}
 
{{"$HTTP_PROTOCOL://$CONSOLE_NODE:$PORT/api/v1/clusters/$CLUSTER/hosts/$hostName/host_components/"}}

 {{the response we get is:}}

{
 "status" : 400,
 "message" : "Invalid Request: RequestStatusDetails is not of type 
DeleteStatusDetails"
}


{{The expected result is something like described at }}
 
{{[https://cwiki.apache.org/confluence/display/AMBARI/Bulk+delete+components+on+multiple+hosts]}}
 \{{}}
 \{{}}
 \{{}}
 \{{}}

  was:
When calling the bulk delete API, for example 

 
{{curl -k -u admin:admin -H }}{{"X-Requested-By: ambari"}} {{-X DELETE}}
{{"$HTTP_PROTOCOL://$CONSOLE_NODE:$PORT/api/v1/clusters/$CLUSTER/hosts/$hostName/host_components/"}}
{{}}
{{the response we get is:}}
{{{}}
{{ "status" : 400,}}
{{ "message" : "Invalid Request: RequestStatusDetails is not of type 
DeleteStatusDetails"}}
{{}}}
{{}}
{{The expected result is something like described at }}
{{[https://cwiki.apache.org/confluence/display/AMBARI/Bulk+delete+components+on+multiple+hosts]}}
{{}}
{{}}
{{}}
{{}}


> Bulk DELETE API is broken
> -------------------------
>
>                 Key: AMBARI-25449
>                 URL: https://issues.apache.org/jira/browse/AMBARI-25449
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.7.3
>            Reporter: Praveen Kumar K J V S
>            Priority: Critical
>
> When calling the bulk delete API, for example 
>  
>  {{curl -k -u admin:admin -H }}{{"X-Requested-By: ambari"}} {{-X DELETE}}
>  
> {{"$HTTP_PROTOCOL://$CONSOLE_NODE:$PORT/api/v1/clusters/$CLUSTER/hosts/$hostName/host_components/"}}
>  {{the response we get is:}}
> {
>  "status" : 400,
>  "message" : "Invalid Request: RequestStatusDetails is not of type 
> DeleteStatusDetails"
> }
> {{The expected result is something like described at }}
>  
> {{[https://cwiki.apache.org/confluence/display/AMBARI/Bulk+delete+components+on+multiple+hosts]}}
>  \{{}}
>  \{{}}
>  \{{}}
>  \{{}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to