Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Abort Command from cm_client

Highlighted

Abort Command from cm_client

New Contributor

I am using CM version 6.0 with cm_client python API. I am trying to run the abort_command method (https://archive.cloudera.com/cm6/6.2.0/generic/jar/cm_api/swagger-html-sdk-docs/python/docs/Commands...) but get a HTTP 403 Forbidden response back and cannot execute this. With the same login credentials, I can abort a command using the web UI. In order to do this, I select Run Now from any of the schedules in the list of replications, click Command Details, then Abort. This works successfully. Is this a limitaiton/malfunciton of the API?