0
我使用這個命令從ambari刪除服務:如何從ambari中刪除服務zookeeper?
curl -u admin:admin -H "X-Requested-By: ambari" -X DELETE http://192.168.24.226:8080/api/v1/clusters/zwlbs/services/Zookeeper
響應:
{
"status" : 404,
"message" : "org.apache.ambari.server.controller.spi.NoSuchResourceException: The specified resource doesn't exist: Service not found, clusterName=zwlbs, serviceName=ZOOKEEPER_SERVER"
}
我已經試過AREADY:
curl -u admin:admin -H "X-Requested-By: ambari" -X DELETE http://192.168.24.226:8080/api/v1/clusters/zwlbs/services/Zookeeper_Service
curl -u admin:admin -H "X-Requested-By: ambari" -X DELETE http://192.168.24.226:8080/api/v1/clusters/zwlbs/services/ZOOKEEPER
我能做些什麼來刪除的ZooKeeper服務?該服務已安裝。