You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Maxim Khutornenko (JIRA)" <ji...@apache.org> on 2014/09/26 03:35:33 UTC
[jira] [Created] (AURORA-756) startUpdate fails with "Instance
count must be positive."
Maxim Khutornenko created AURORA-756:
----------------------------------------
Summary: 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
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)