Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-13741

API call to delete service fails with error: integrity constraint violated - child record found

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.2.0
    • ambari-server
    • None

    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

      Attachments

        1. AMBARI-13741.v2.patch
          11 kB
          Sebastian Toader

        Issue Links

          Activity

            People

              stoader Sebastian Toader
              stoader Sebastian Toader
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: