REST API + how to verify that component not exist on node X
hi all
by the following API we can delete the thrift server component on master01 and master03 nodes
# curl -iv -u admin:admin -H "X-Requested-By: ambari" -X DELETE http://$AMBARI_SERVER:8080/api/v1/clusters/hdp/hosts/master01/host_components/SPARK2_THRIFTSERVER
# curl -iv -u admin:admin -H "X-Requested-By: ambari" -X DELETE http://$AMBARI_SERVER:8080/api/v1/clusters/hdp/hosts/master03/host_components/SPARK2_THRIFTSERVER
but how to know by REST API that thrift server component , not defined on specific node ( after deletion )

