Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 5B048200B13 for ; Wed, 1 Jun 2016 05:18:17 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 59669160A44; Wed, 1 Jun 2016 03:18:17 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A0405160A46 for ; Wed, 1 Jun 2016 05:18:16 +0200 (CEST) Received: (qmail 39962 invoked by uid 500); 1 Jun 2016 03:18:15 -0000 Mailing-List: contact dev-help@gearpump.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@gearpump.incubator.apache.org Delivered-To: mailing list dev@gearpump.incubator.apache.org Received: (qmail 39947 invoked by uid 99); 1 Jun 2016 03:18:15 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2016 03:18:15 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 3B422C0696 for ; Wed, 1 Jun 2016 03:18:15 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -4.646 X-Spam-Level: X-Spam-Status: No, score=-4.646 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.426] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id n5pGtLAm2ndC for ; Wed, 1 Jun 2016 03:18:14 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id A78F15F4E4 for ; Wed, 1 Jun 2016 03:18:13 +0000 (UTC) Received: (qmail 39879 invoked by uid 99); 1 Jun 2016 03:18:12 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2016 03:18:12 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id CB6A02C14F8 for ; Wed, 1 Jun 2016 03:18:12 +0000 (UTC) Date: Wed, 1 Jun 2016 03:18:12 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: dev@gearpump.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (GEARPUMP-83) After killing all worker instances, application status should not be described as active MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 01 Jun 2016 03:18:17 -0000 [ https://issues.apache.org/jira/browse/GEARPUMP-83?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15309170#comment-15309170 ] ASF GitHub Bot commented on GEARPUMP-83: ---------------------------------------- Github user manuzhang commented on the pull request: https://github.com/apache/incubator-gearpump/pull/31 R: @stanleyxu2005 > After killing all worker instances, application status should not be described as active > ---------------------------------------------------------------------------------------- > > Key: GEARPUMP-83 > URL: https://issues.apache.org/jira/browse/GEARPUMP-83 > Project: Apache Gearpump > Issue Type: Bug > Components: Dashboard > Affects Versions: 0.8.0 > Reporter: Kam Kasravi > Assignee: Manu Zhang > Priority: Minor > Fix For: 0.8.1 > > > Step to reproduce: > Start cluster with one worker > Start a word count > Kill the worker > Expect /api/v1.0/master/applist actually returns app status as active, but application's detail page is not available. I think as there is no resource to run the application, the application is in some abnormal status. In order not to mislead user, I think we should invent a new status, might be recovering or something. > Example output: > {code} > {"appMasters":[{"status":"active","appId":1,"appName":"dag","appMasterPath":"akka.tcp://app1-executor-1@127.0.0.1:46761/user/daemon/appdaemon1/$c","workerPath":"akka.tcp://48a47aa6-81c0-493c-9948-9d7d4c946db6@127.0.0.1:59201/user/Worker48a47aa6-81c0-493c-9948-9d7d4c946db6","submissionTime":"1451894551477","startTime":"1451894553568","user":"qxu"},{"status":"active","appId":2,"appName":"wordCount","appMasterPath":"akka.tcp://app2-executor-1@127.0.0.1:49261/user/daemon/appdaemon2/$c","workerPath":"akka.tcp://48a47aa6-81c0-493c-9948-9d7d4c946db6@127.0.0.1:59201/user/Worker48a47aa6-81c0-493c-9948-9d7d4c946db6","submissionTime":"1451898038991","startTime":"1451898040265","user":"qxu"}]} > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)