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 2017/02/27 19:06:45 UTC

[jira] [Resolved] (AURORA-1860) Fix bug in scheduler driver disconnect stats

     [ https://issues.apache.org/jira/browse/AURORA-1860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zameer Manji resolved AURORA-1860.
----------------------------------
    Resolution: Fixed

{noformat}
commit 2652fe02a2255992e187fede2bae8ff6aef2862c
Author: Ilya Pronin <ip...@twopensource.com>
Date:   Mon Feb 27 11:04:54 2017 -0800

    Fix scheduler_framework_disconnects stat.
    
    Refactoring in r/31550 has disabled incrementing scheduler_framework_disconnects
    stats. This change brings it back.
    
    Testing Done:
    Added a check to `MesosSchedulerImplTest.testDisconnected()`. Manually verified
    in Vagrant by starting/stopping mesos-master and querying `/vars` endpoint.
    
    Bugs closed: AURORA-1860
    
    Reviewed at https://reviews.apache.org/r/57074/

 .../java/org/apache/aurora/scheduler/mesos/MesosSchedulerImpl.java     | 2 +-
 .../java/org/apache/aurora/scheduler/mesos/MesosSchedulerImplTest.java | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)
{noformat}

> Fix bug in scheduler driver disconnect stats
> --------------------------------------------
>
>                 Key: AURORA-1860
>                 URL: https://issues.apache.org/jira/browse/AURORA-1860
>             Project: Aurora
>          Issue Type: Task
>          Components: Scheduler
>            Reporter: Mehrdad Nurolahzade
>            Assignee: Ilya Pronin
>            Priority: Minor
>              Labels: newbie
>
> Correct the refactoring mistake introduced in [https://reviews.apache.org/r/31550/] that has disabled {{scheduler_framework_disconnects}} stats:
> {code:title=MesosSchedulerImpl.disconnected()}
>     counters.get("scheduler_framework_disconnects").get();
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)