abort_procedure

Definition

Aborts the procedure with the specified ID. Returns true, if the command is accepted and the procedure is in the process of aborting. Returns false, if the procedure could not be aborted, e.g. if the defined procedure does not exist, or it is already completed, or the command can cause corruption.

CAUTION
Use the command with caution. It is for experts only. Some procedures can be not aborted.

Usage

abort_procedure <proc_id>[, <may_interrupt_if_running>]
Arguments
Parameter Description

proc_id

A procedure identifier (can be received by calling list_procedures)

may_interrupt_if_running

An optional boolean value, defining whether or not it is allowed to interrupt the running procedure. The default value is true

Examples

hbase(main):036:0> abort_procedure 123
false
Took 0.0157 seconds
=> 1
Found a mistake? Seleсt text and press Ctrl+Enter to report it