[ 
https://issues.apache.org/jira/browse/AURORA-932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14215326#comment-14215326
 ] 

Maxim Khutornenko commented on AURORA-932:
------------------------------------------

The latter. Here is the syntax for the {{killall}} command:
{noformat}
aurora job killall cluster/role/env/job --batch-size=5
{noformat}

The {{create}} command could follow the same syntax. It could be done entirely 
on the client without modifying the existing scheduler API with the first batch 
created via {{createJob}} RPC and subsequent batches calling the 
{{addInstances}} RPC. Any failures/interruptions would require using the 
{{update}} command to avoid dealing with the problems you mentioned above.

> Aurora job create should support batchsize
> ------------------------------------------
>
>                 Key: AURORA-932
>                 URL: https://issues.apache.org/jira/browse/AURORA-932
>             Project: Aurora
>          Issue Type: Task
>          Components: Client
>            Reporter: Maxim Khutornenko
>
> The {{aurora job create}} command should support batching of tasks. This will 
> be a welcome feature for the users when dealing with large jobs as well as a 
> perf improvement for the scheduler UI (e.g.: AURORA-522) and will be 
> consistent with other client commands already supporting batchsize, like 
> update, restart, kill, killall (AURORA-283).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to