You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Dmytro Sen (JIRA)" <ji...@apache.org> on 2014/08/07 14:59:11 UTC
[jira] [Created] (AMBARI-6768) Add ability to an agent to cancel
queued/running tasks
Dmytro Sen created AMBARI-6768:
----------------------------------
Summary: Add ability to an agent to cancel queued/running tasks
Key: AMBARI-6768
URL: https://issues.apache.org/jira/browse/AMBARI-6768
Project: Ambari
Issue Type: Task
Components: agent
Affects Versions: 1.7.0
Reporter: Dmytro Sen
Assignee: Dmytro Sen
Fix For: 1.7.0
Agent should accept a list of CANCEL_COMMANDs inside heartbeat response (cancelCommands). CANCEL_COMMAND looks like:
{
target_task_id: "4-3"
reason: "Aborted by a user via API" // Text that has been provided at abort_reason field via API
}
For cancelled tasks (that were in pending or in_progress state), a command report should be generated and sent to a server.
As of now, only cancelling ordinary commands should be supported.
--
This message was sent by Atlassian JIRA
(v6.2#6252)