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 81DB6200BF8 for ; Fri, 13 Jan 2017 09:54:30 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 7EA2F160B32; Fri, 13 Jan 2017 08:54:30 +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 C94AA160B3F for ; Fri, 13 Jan 2017 09:54:29 +0100 (CET) Received: (qmail 88655 invoked by uid 500); 13 Jan 2017 08:54:29 -0000 Mailing-List: contact issues-help@eagle.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@eagle.apache.org Delivered-To: mailing list issues@eagle.apache.org Received: (qmail 88645 invoked by uid 99); 13 Jan 2017 08:54:29 -0000 Received: from Unknown (HELO jira-lw-us.apache.org) (207.244.88.139) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jan 2017 08:54:29 +0000 Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 76CD225286 for ; Fri, 13 Jan 2017 08:54:26 +0000 (UTC) Date: Fri, 13 Jan 2017 08:54:26 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@eagle.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (EAGLE-852) Application start button should be disabled when it's running, and the same for stop button MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 13 Jan 2017 08:54:30 -0000 [ https://issues.apache.org/jira/browse/EAGLE-852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15821434#comment-15821434 ] ASF GitHub Bot commented on EAGLE-852: -------------------------------------- Github user asfgit closed the pull request at: https://github.com/apache/eagle/pull/767 > Application start button should be disabled when it's running, and the same for stop button > -------------------------------------------------------------------------------------------- > > Key: EAGLE-852 > URL: https://issues.apache.org/jira/browse/EAGLE-852 > Project: Eagle > Issue Type: Bug > Reporter: Lingang Deng > Assignee: Lingang Deng > Priority: Minor > > Application start button can click when it's running, it's improper, and throw exception as follows > {code} > ERROR [2017-01-09 08:27:15,623] org.apache.eagle.app.service.impl.ApplicationManagementServiceImpl: App: HADOOP_METRIC_MONITOR_XHJ status is RUNNING start operation is not allowed > ! org.apache.eagle.metadata.exceptions.ApplicationWrongStatusException: App: HADOOP_METRIC_MONITOR_TEST_SITE status is RUNNING start operation is not allowed > ! at org.apache.eagle.app.service.impl.ApplicationManagementServiceImpl.start(ApplicationManagementServiceImpl.java:196) ~[classes/:na] > ! at org.apache.eagle.app.resource.ApplicationResource.lambda$startApplication$8(ApplicationResource.java:176) [classes/:na] > ! at org.apache.eagle.metadata.resource.RESTResponse$RestResponseBuilder.lambda$async$1(RESTResponse.java:197) ~[classes/:na] > ! at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1626) ~[na:1.8.0_102] > ! at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1618) ~[na:1.8.0_102] > ! at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) ~[na:1.8.0_102] > ! at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) ~[na:1.8.0_102] > ! at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) ~[na:1.8.0_102] > ! at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) ~[na:1.8.0_102] > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)