You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Bill Farner (JIRA)" <ji...@apache.org> on 2014/09/26 20:14:34 UTC
[jira] [Assigned] (AURORA-756) startUpdate fails with "Instance
count must be positive."
[ https://issues.apache.org/jira/browse/AURORA-756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bill Farner reassigned AURORA-756:
----------------------------------
Assignee: Bill Farner
> startUpdate fails with "Instance count must be positive."
> ---------------------------------------------------------
>
> Key: AURORA-756
> URL: https://issues.apache.org/jira/browse/AURORA-756
> Project: Aurora
> Issue Type: Bug
> Components: Scheduler
> Reporter: Maxim Khutornenko
> Assignee: Bill Farner
>
> When a noop update is requested (i.e. all instances are already in desired state), the UpdateFactory.newUpdate fails checkArgument validation in:
> {noformat}
> checkArgument(
> !instructions.getDesiredState().getInstances().isEmpty(),
> "Instance count must be positive.");
> {noformat}
> Recommend fixing it with https://reviews.apache.org/r/25481, which replaces that validation with the one in SchedulerThriftInterface before any diff applied.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)