MapR 5.0 Documentation : task failattempt



The task failattempt API ends the specified task attempt as failed.

Syntax

CLI

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

REST

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

Parameters



Parameter

Description

cluster

Cluster name

taskattemptid

Task attempt ID

Examples

Ending a Task Attempt as Failed

CLI

maprcli task failattempt -taskattemptid attempt_201187941846_1077_300_7707

REST

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