git.net

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

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


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

Hashan Gayasri Udugahapattuwa edited comment on GEARPUMP-368 at 4/5/18 6:58 AM:
--------------------------------------------------------------------------------

Hi [~karol_brejna],

I applied the patch([https://github.com/apache/incubator-gearpump/pull/241]) to the master HEAD([8aac07b|https://github.com/apache/incubator-gearpump/commit/8aac07b86d4b90e4f5118f3204610d3510f93b02]) locally and it creates another bug in submitting the app via cli in a cluster setup.

[^logs.zip]

 
{code:java}
./bin/gear app -executors 2 -jar ./examples/gearpump-examples-sol_2.11-0.8.5-SNAPSHOT.jar 
Can't load main class in arguments 
Loading org.apache.gearpump.streaming.examples.sol.SOL in manifest
Help: 
-producers (required:false, default:1)<stream producer number>
-consumers (required:false, default:1)<stream processor number>
-message_size (required:false, default:100)<size of each message>
-pipeline_stages (required:false, default:2)<how many stages to run>
Exception in thread "main" java.lang.reflect.InvocationTargetException
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:498)
 at org.apache.gearpump.cluster.main.AppSubmitter$.main(AppSubmitter.scala:89)
 at org.apache.gearpump.cluster.main.Gear$.executeCommand(Gear.scala:44)
 at org.apache.gearpump.cluster.main.Gear$.main(Gear.scala:64)
 at org.apache.gearpump.cluster.main.Gear.main(Gear.scala)
Caused by: akka.pattern.AskTimeoutException: Ask timed out on [Actor[akka://client1439102947/user/masterproxy1673545211#-1862194433]] after [15000 ms]. Sender[null] sent message of type "org.apache.gearpump.cluster.ClientToMaster$GetJarStoreServer$".
 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(Thread.java:748)
 
 
./bin/gear app -executors 2 -jar ./examples/gearpump-examples-state_2.11-0.8.5-SNAPSHOT.jar org.apache.gearpump.streaming.examples.state.GenMessageCountApp -ZOOKEEPER_CONNECT 10.10.1.20:2191,10.10.1.21:2191 -BROKER_LIST 10.10.1.20:9093,10.10.1.21:9093
Help:
-gen (required:false, default:1)<how many gen tasks>
-count (required:false, default:1)<how many count tasks
-ZOOKEEPER_CONNECT (required:false, default:localhost:2191)<Zookeeper connect string, e.g. localhost:2181/kafka>
-BROKER_LIST (required:true)<Kafka broker list, e.g. localhost:9092>
Exception in thread "main" java.lang.reflect.InvocationTargetException
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:498)
 at org.apache.gearpump.cluster.main.AppSubmitter$.main(AppSubmitter.scala:89)
 at org.apache.gearpump.cluster.main.Gear$.executeCommand(Gear.scala:44)
 at org.apache.gearpump.cluster.main.Gear$.main(Gear.scala:64)
 at org.apache.gearpump.cluster.main.Gear.main(Gear.scala)
Caused by: akka.pattern.AskTimeoutException: Ask timed out on [Actor[akka://client85145956/user/masterproxy709506593#1855372599]] after [15000 ms]. Sender[null] sent message of type "org.apache.gearpump.cluster.ClientToMaster$GetJarStoreServer$".
 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(Thread.java:748)
{code}
 Maybe it has to do with partially reverting [https://github.com/apache/incubator-gearpump/commit/2d2f279533a221c7b9317440a13cd2570267b85e]

 

EDIT: Not confirmed. fully reverting the commit didn't work. Will confirm with a clean build


was (Author: hashan):
Hi [~karol_brejna],

I applied the patch([https://github.com/apache/incubator-gearpump/pull/241]) to the master HEAD([8aac07b|https://github.com/apache/incubator-gearpump/commit/8aac07b86d4b90e4f5118f3204610d3510f93b02]) locally and it creates another bug in submitting the app via cli in a cluster setup.

[^logs.zip]

 
{code:java}
./bin/gear app -executors 2 -jar ./examples/gearpump-examples-sol_2.11-0.8.5-SNAPSHOT.jar 
Can't load main class in arguments 
Loading org.apache.gearpump.streaming.examples.sol.SOL in manifest
Help: 
-producers (required:false, default:1)<stream producer number>
-consumers (required:false, default:1)<stream processor number>
-message_size (required:false, default:100)<size of each message>
-pipeline_stages (required:false, default:2)<how many stages to run>
Exception in thread "main" java.lang.reflect.InvocationTargetException
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:498)
 at org.apache.gearpump.cluster.main.AppSubmitter$.main(AppSubmitter.scala:89)
 at org.apache.gearpump.cluster.main.Gear$.executeCommand(Gear.scala:44)
 at org.apache.gearpump.cluster.main.Gear$.main(Gear.scala:64)
 at org.apache.gearpump.cluster.main.Gear.main(Gear.scala)
Caused by: akka.pattern.AskTimeoutException: Ask timed out on [Actor[akka://client1439102947/user/masterproxy1673545211#-1862194433]] after [15000 ms]. Sender[null] sent message of type "org.apache.gearpump.cluster.ClientToMaster$GetJarStoreServer$".
 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(Thread.java:748)
 
 
./bin/gear app -executors 2 -jar ./examples/gearpump-examples-state_2.11-0.8.5-SNAPSHOT.jar org.apache.gearpump.streaming.examples.state.GenMessageCountApp -ZOOKEEPER_CONNECT 10.10.1.20:2191,10.10.1.21:2191 -BROKER_LIST 10.10.1.20:9093,10.10.1.21:9093
Help:
-gen (required:false, default:1)<how many gen tasks>
-count (required:false, default:1)<how many count tasks
-ZOOKEEPER_CONNECT (required:false, default:localhost:2191)<Zookeeper connect string, e.g. localhost:2181/kafka>
-BROKER_LIST (required:true)<Kafka broker list, e.g. localhost:9092>
Exception in thread "main" java.lang.reflect.InvocationTargetException
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:498)
 at org.apache.gearpump.cluster.main.AppSubmitter$.main(AppSubmitter.scala:89)
 at org.apache.gearpump.cluster.main.Gear$.executeCommand(Gear.scala:44)
 at org.apache.gearpump.cluster.main.Gear$.main(Gear.scala:64)
 at org.apache.gearpump.cluster.main.Gear.main(Gear.scala)
Caused by: akka.pattern.AskTimeoutException: Ask timed out on [Actor[akka://client85145956/user/masterproxy709506593#1855372599]] after [15000 ms]. Sender[null] sent message of type "org.apache.gearpump.cluster.ClientToMaster$GetJarStoreServer$".
 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(Thread.java:748)
{code}
 

 

 

Maybe it has to do with partially reverting [https://github.com/apache/incubator-gearpump/commit/2d2f279533a221c7b9317440a13cd2570267b85e]

 

> 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)