MapR 5.0 Documentation : task killattempt



The task killattempt API kills the specified task attempt.

Syntax

CLI

maprcli task killattempt
    [ -cluster cluster name ]
    -taskattemptid task attempt ID

REST

http[s]://<host>:<port>/rest/task/killattempt?[cluster=cluster_name&]taskattemptid=task_attempt_ID

Parameters



Parameter

Description

cluster

Cluster name

taskattemptid

Task attempt ID

Examples

Killing a Task Attempt

CLI

maprcli task killattempt -taskattemptid attempt_201187941846_1077_300_7707

REST

https://r1n1.sj.us:8443/rest/task/killattempt?taskattemptid=attempt_201187941846_1077_300_7707