Skip to main content
 print this page

Stop a running datasource sync job

PUT 

/datasources/:datasource_id/sync-jobs/:job_id

Stops an in-flight catalog Glue sync job. Caller needs editor access (else AUTH-1012). Supported types: amorphic, or jdbc with IngestionType metadataonly. Job must be RUNNING or STARTING in DynamoDB (else IPV-1078). If Glue is still RUNNING, stop is requested and JobStatus becomes STOPPING; if Glue already terminal, DynamoDB is synced to that status. Intended for catalog Glue runs (GlueJobRunId "n/a" on the external path can fail with GE-1034). Not idempotent for an already-stopped job.

Request

Responses

Stop accepted or status synced. Message is either "Triggered stop of datasource sync job {job_id}" (STOPPING) or "Sync job {job_id} already reached status {state} before it could be stopped."

Response Headers
    Access-Control-Allow-Origin
    Access-Control-Allow-Methods
    Access-Control-Allow-Headers