ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Sen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AMBARI-6768) Add ability to an agent to cancel queued/running tasks
Date Thu, 07 Aug 2014 14:18:11 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-6768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dmytro Sen resolved AMBARI-6768.
--------------------------------

    Resolution: Fixed

Committed to trunk

> 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
>
>
> Jira scope:
> Agent should accept a list of CANCEL_COMMANDs inside heartbeat response (cancelCommands).
CANCEL_COMMAND looks like:
> {code}
> {
>   target_task_id: "4-3"
>   reason: "Aborted by a user via API"  // Text that has been provided at abort_reason
field via API
> }
> {code}
> 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)

Mime
View raw message