You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Zameer Manji (JIRA)" <ji...@apache.org> on 2016/09/13 20:05:20 UTC
[jira] [Resolved] (AURORA-1602) Add aurora_admin command to trigger
reconciliation
[ https://issues.apache.org/jira/browse/AURORA-1602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zameer Manji resolved AURORA-1602.
----------------------------------
Resolution: Fixed
{noformat}
commit 633948ab07b9e794a828cb35e9e75bb19d20f061
Author: Karthik Anantha Padmanabhan <tr...@gmail.com>
Date: Tue Sep 13 13:02:59 2016 -0700
Aurora admin commands for reconciliation
* A new command for task reconciliation `reconcile_tasks` was added to the
aurora_admin CLI. It takes type of reconciliation and the batch size(for
explicit reconciliation) as options.
* As part of this change two thirft APIs were also added -
`triggerImplicitTaskReconciliation` and `triggerExplicitTaskReconciliation`.
Testing Done:
* Manually tested on my local vagrant installation.
* ./build-support/jenkins/build.sh
Bugs closed: AURORA-1602
Reviewed at https://reviews.apache.org/r/51662/
RELEASE-NOTES.md | 2 +
.../main/thrift/org/apache/aurora/gen/api.thrift | 10 +++
.../scheduler/reconciliation/TaskReconciler.java | 63 +++++++++++------
.../scheduler/thrift/SchedulerThriftInterface.java | 33 ++++++++-
src/main/python/apache/aurora/admin/admin.py | 27 +++++++
.../python/apache/aurora/client/api/__init__.py | 8 +++
.../reconciliation/TaskReconcilerTest.java | 18 +++--
.../thrift/SchedulerThriftInterfaceTest.java | 59 +++++++++++++++-
src/test/python/apache/aurora/admin/test_admin.py | 82 +++++++++++++++++++++-
.../aurora/client/api/test_scheduler_client.py | 13 ++++
10 files changed, 284 insertions(+), 31 deletions(-)
{noformat}
> Add aurora_admin command to trigger reconciliation
> ---------------------------------------------------
>
> Key: AURORA-1602
> URL: https://issues.apache.org/jira/browse/AURORA-1602
> Project: Aurora
> Issue Type: Task
> Components: Client
> Reporter: Zameer Manji
> Assignee: Karthik Anantha Padmanabhan
>
> Currently reconciliation runs on a fixed schedule. Adding an admin RPC to trigger it is useful for operators who want to speed up cluster recovery.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)