ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Sen" <>
Subject Re: Review Request 24450: Add ability to an agent to cancel queued/running tasks
Date Thu, 07 Aug 2014 14:14:49 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated Aug. 7, 2014, 2:14 p.m.)

Review request for Ambari and Dmitro Lisnichenko.

Bugs: AMBARI-6768

Repository: ambari


ira scope:
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.


  ambari-agent/src/main/python/ambari_agent/ 58d3e75 
  ambari-agent/src/main/python/ambari_agent/ 36ed94c 
  ambari-agent/src/main/python/ambari_agent/ 4331678 
  ambari-agent/src/main/python/ambari_agent/ c4f1234 
  ambari-agent/src/test/python/ambari_agent/ 04c12b2 
  ambari-agent/src/test/python/ambari_agent/ 6c1dcd0 
  ambari-agent/src/test/python/ambari_agent/ e8668f6 
  ambari-agent/src/test/python/ambari_agent/ c33b97d 


Testing (updated)

Manual end-to-end + unit tests

Tests run: 1883, Failures: 0, Errors: 0, Skipped: 24


Dmytro Sen

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message