Skip to main content
Source

pub async fn kill_proc( &self, run_id: String, ) -> Result<KillProcResponse, KineticaError>

Kill a running proc instance

Kills a running proc instance.

  • run_id - The run ID of a running proc instance. If a proc with a matching run ID is not found or the proc instance has already completed, no procs will be killed. If not specified, all running proc instances will be killed.

Kill a running proc instance

Kills a running proc instance.

  • run_id - The run ID of a running proc instance. If a proc with a matching run ID is not found or the proc instance has already completed, no procs will be killed. If not specified, all running proc instances will be killed.
  • options - The optional parameters; any left unset take the server’s defaults.

Sends a pre-built KillProcRequest to the /kill/proc endpoint.

Sends a pre-built KillProcRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.