[
https://issues.apache.org/jira/browse/EAGLE-852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lingang Deng updated EAGLE-852:
-------------------------------
Summary: Application start button should be disabled when it's running, and
the same for stop button (was: Application start button should disabled when
it's running, and the same for stop button )
> 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)