@access_log_level(logging.WARN)
def kill_task_attempt(request, attemptid):
 ret = request.jt.kill_task_attempt(request.jt.thriftattemptid_from_string(attemptid))
 return render_json({})

@ access_log_level ( logging . WARN ) def kill_task_attempt ( request , attemptid ) : ret = request . jt . kill_task_attempt ( request . jt . thriftattemptid_from_string ( attemptid ) ) return render_json ( { } )
we get here from /jobs/jobid/tasks/taskid/attempts/attemptid/kill todo: security .