[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Commented] (GEARPUMP-368) Application details page does not load

    [ ] 

ASF GitHub Bot commented on GEARPUMP-368:

Github user manuzhang commented on the issue:
    The root cause of this issue is that apps submitted from UI via `AppSubmitter` or `GearpumpStormClient` are run in the default `EmbeddedRuntimeEnvironment`.  
    Currently, there are two types of applications (those extends `AkkaApp`). One is *command* like `AppSubmitter` or `Info`. The other user application. The former is supposed to run in `RemoteRuntimeEnvironment` while the latter is meant to run in `EmbeddedRuntimeEnvironment` by default. After discussing with @huafengw offline, we agree it's better to create a new trait (e.g.  `Command`) which extends `AkkaApp` and is extended by `AppSubmitter`, `Info` and other commands. Then we can set `RemoteRuntimeEnvironment` in the new trait.

> Application details page does not load
> --------------------------------------
>                 Key: GEARPUMP-368
>                 URL:
>             Project: Apache Gearpump
>          Issue Type: Bug
>          Components: services
>    Affects Versions: 0.8.5
>            Reporter: Hashan Gayasri Udugahapattuwa
>            Assignee: Karol Brejna
>            Priority: Major
>         Attachments: gearpump-master-47505.log, gearpump-ui-47572.log, gearpump-worker-47538.log,
> Application details page does not load in the 0.8.5-SNAPSHOT(8aac07b86d4b90e4f5118f3204610d3510f93b02). This is recreatable with the default examples. 
> This issue not present in the 0.8.4 release.
> Request : []
> Status Code : 500 Internal Server Error
> Response : 
> akka.pattern.AskTimeoutException: Ask timed out on [Actor[akka.tcp://app1-executor-1@$c#1247996686]] after [15000 ms]. Sender[null] sent message of type "org.apache.gearpump.cluster.MasterToAppMaster$AppMasterDataDetailRequest".
>  at akka.pattern.PromiseActorRef$$anonfun$1.apply$mcV$sp(AskSupport.scala:604)
>  at$$anon$
>  at scala.concurrent.Future$InternalCallbackExecutor$.unbatchedExecute(Future.scala:601)
>  at scala.concurrent.BatchingExecutor$class.execute(BatchingExecutor.scala:109)
>  at scala.concurrent.Future$InternalCallbackExecutor$.execute(Future.scala:599)
>  at$TaskHolder.executeTask(LightArrayRevolverScheduler.scala:329)
>  at$$anon$4.executeBucket$1(LightArrayRevolverScheduler.scala:280)
>  at$$anon$4.nextTick(LightArrayRevolverScheduler.scala:284)
>  at$$anon$
>  at Source)

This message was sent by Atlassian JIRA