[ 
https://issues.apache.org/jira/browse/GEARPUMP-368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16444238#comment-16444238
 ] 

ASF GitHub Bot commented on GEARPUMP-368:
-----------------------------------------

Github user manuzhang commented on the issue:

    https://github.com/apache/incubator-gearpump/pull/241
  
    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: https://issues.apache.org/jira/browse/GEARPUMP-368
>             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, logs.zip
>
>
> 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 : [http://172.25.34.11:8090/api/v1.0/appmaster/1?detail=true]
> Status Code : 500 Internal Server Error
>  
> Response : 
> akka.pattern.AskTimeoutException: Ask timed out on 
> [Actor[akka.tcp://app1-executor-1@10.10.1.20:33881/user/daemon/appdaemon1/$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 akka.actor.Scheduler$$anon$4.run(Scheduler.scala:126)
>  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 
> akka.actor.LightArrayRevolverScheduler$TaskHolder.executeTask(LightArrayRevolverScheduler.scala:329)
>  at 
> akka.actor.LightArrayRevolverScheduler$$anon$4.executeBucket$1(LightArrayRevolverScheduler.scala:280)
>  at 
> akka.actor.LightArrayRevolverScheduler$$anon$4.nextTick(LightArrayRevolverScheduler.scala:284)
>  at 
> akka.actor.LightArrayRevolverScheduler$$anon$4.run(LightArrayRevolverScheduler.scala:236)
>  at java.lang.Thread.run(Unknown Source)
>  
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to