cant delete SPARK2_THRIFTSERVER from node01/03 from ambari
we have two SPARK2_THRIFTSERVER on node01/03 in our ambari server
we want to delete both SPARK2_THRIFTSERVER on both nodes
we try the following API , but without success , any idea where we are wrong?
component_name : SPARK2_THRIFTSERVER
the REST API: ( we try to delete the thrift server on one of the nodes )
curl -iv -u admin:admin -H "X-Requested-By: ambari" -X DELETE http://node02:8080/api/v1/clusters/HDP/hosts/node01/SPARK2_THRIFTSERVER
* About to connect() to node02 port 8080 (#0)
* Connected to node02 (45.3.23.4) port 8080 (#0)
* Server auth using Basic with user 'admin'
> DELETE /api/v1/clusters/HDP/hosts/node01/SPARK2_THRIFTSERVER HTTP/1.1
> Authorization: Basic YWRtaW46YWRtaW4=
> User-Agent: curl/7.29.0
> Accept: */*
> X-Requested-By: ambari
>
< HTTP/1.1 404 Not Found
HTTP/1.1 404 Not Found

