[
https://issues.apache.org/jira/browse/AMBARI-13741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sebastian Toader updated AMBARI-13741:
--------------------------------------
Description:
Deleting a service from existing cluster using REST API
(https://cwiki.apache.org/confluence/display/AMBARI/Using+APIs+to+delete+a+service+or+all+host+components+on+a+host)
fails with the below error:
Call: DELETE FROM clusterservice Where ((cluster_id = ?) AND (service_name = ?))
Caused by: ... ORA-02292 integrity constraint violated - child record found
was:
1. Install Cluster with base services (HDFS, YARN, MAPREDUCE2, TEZ, ZOOKEEPER,
AMBARI_METRICS)
2. Add all services except Ranger and Ranger KMS
3. Delete TEZ using API
(https://cwiki.apache.org/confluence/display/AMBARI/Using+APIs+to+delete+a+service+or+all+host+components+on+a+host)
4. Try to add TEZ again
Summary: API call to delete service fails with error: integrity
constraint violated - child record found (was: Re-adding TEZ service fails
with an error.)
> API call to delete service fails with error: integrity constraint violated -
> child record found
> -----------------------------------------------------------------------------------------------
>
> Key: AMBARI-13741
> URL: https://issues.apache.org/jira/browse/AMBARI-13741
> Project: Ambari
> Issue Type: Bug
> Reporter: Sebastian Toader
> Assignee: Sebastian Toader
>
> Deleting a service from existing cluster using REST API
> (https://cwiki.apache.org/confluence/display/AMBARI/Using+APIs+to+delete+a+service+or+all+host+components+on+a+host)
> fails with the below error:
> Call: DELETE FROM clusterservice Where ((cluster_id = ?) AND (service_name =
> ?))
> Caused by: ... ORA-02292 integrity constraint violated - child record found
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)