Skip to main content
Source

pub async fn admin_alter_jobs( &self, job_ids: Vec<i64>, action: String, ) -> Result<AdminAlterJobsResponse, KineticaError>

Alter a job

Perform the requested action on a list of one or more job(s). Based on the type of job and the current state of execution, the action may not be successfully executed. The final result of the attempted actions for each specified job is returned in the status array of the response. See Job Manager for more information.

  • job_ids - Jobs to be modified.
  • action - Action to be performed on the jobs specified by job_ids.

Alter a job

Perform the requested action on a list of one or more job(s). Based on the type of job and the current state of execution, the action may not be successfully executed. The final result of the attempted actions for each specified job is returned in the status array of the response. See Job Manager for more information.

  • job_ids - Jobs to be modified.
  • action - Action to be performed on the jobs specified by job_ids.
  • options - The optional parameters; any left unset take the server’s defaults.

Sends a pre-built AdminAlterJobsRequest to the /admin/alter/jobs endpoint.

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