[GitHub] incubator-gearpump pull request #242: [GEARPUMP-369] Fix configuring number ...

2018-04-05 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/incubator-gearpump/pull/242


---


[GitHub] incubator-gearpump issue #226: [GEARPUMP-367] Don't use windowing unnecessar...

2018-04-05 Thread manuzhang
Github user manuzhang commented on the issue:

https://github.com/apache/incubator-gearpump/pull/226
  
R: @huafengw 

The failed test `AppMasterSpec` is unrelated to this PR.



---


[GitHub] incubator-gearpump pull request #242: [GEARPUMP-369] Fix configuring number ...

2018-04-05 Thread manuzhang
GitHub user manuzhang opened a pull request:

https://github.com/apache/incubator-gearpump/pull/242

[GEARPUMP-369] Fix configuring number of executors

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

 - [ ] Make sure the commit message is formatted like:
   `[GEARPUMP-] Meaningful description of pull request` 
 - [ ] Make sure tests pass via `sbt clean test`.
 - [ ] Make sure old documentation affected by the pull request has been 
updated and new documentation added for new functionality. 



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/manuzhang/incubator-gearpump 
fix_config_executor_num

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-gearpump/pull/242.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #242


commit 669f4e1ea4669d98fe34a56900bd41a03918787d
Author: manuzhang 
Date:   2018-04-05T10:04:35Z

[GEARPUMP-369] Fix configuring number of executors




---


[GitHub] incubator-gearpump issue #242: [GEARPUMP-369] Fix configuring number of exec...

2018-04-05 Thread manuzhang
Github user manuzhang commented on the issue:

https://github.com/apache/incubator-gearpump/pull/242
  
R: @huafengw 


---


[GitHub] incubator-gearpump issue #242: [GEARPUMP-369] Fix configuring number of exec...

2018-04-05 Thread codecov-io
Github user codecov-io commented on the issue:

https://github.com/apache/incubator-gearpump/pull/242
  
# 
[Codecov](https://codecov.io/gh/apache/incubator-gearpump/pull/242?src=pr=h1)
 Report
> Merging 
[#242](https://codecov.io/gh/apache/incubator-gearpump/pull/242?src=pr=desc) 
into 
[master](https://codecov.io/gh/apache/incubator-gearpump/commit/8aac07b86d4b90e4f5118f3204610d3510f93b02?src=pr=desc)
 will **increase** coverage by `0.09%`.
> The diff coverage is `50%`.



```diff
@@Coverage Diff @@
##   master #242  +/-   ##
==
+ Coverage   68.94%   69.03%   +0.09% 
==
  Files 191  191  
  Lines6128 6130   +2 
  Branches  542  540   -2 
==
+ Hits 4225 4232   +7 
+ Misses   1903 1898   -5
```




---


[jira] [Commented] (GEARPUMP-369) "executor-num" is overridden by the default value for arg "executors"(1)

2018-04-05 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on GEARPUMP-369:
-

Github user asfgit closed the pull request at:

https://github.com/apache/incubator-gearpump/pull/242


> "executor-num" is overridden by the default value for arg "executors"(1) 
> -
>
> Key: GEARPUMP-369
> URL: https://issues.apache.org/jira/browse/GEARPUMP-369
> Project: Apache Gearpump
>  Issue Type: Bug
>  Components: core
>Affects Versions: 0.8.4, 0.8.5
>Reporter: Hashan Gayasri Udugahapattuwa
>Priority: Minor
>
> org/apache/gearpump/cluster/main/AppSubmitter.scala:62
> System.setProperty(Constants.APPLICATION_EXECUTOR_NUMBER, 
> config.getInt("executors").toString)
>  
> replaces the value set by system properties (gear.conf) by the default 
> value(1) even when no value is passed at as an argument. The expected 
> behaviour is to only override the value when a value is given explicitly.



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


[jira] [Commented] (GEARPUMP-367) Unnecessary use of window processing

2018-04-05 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on GEARPUMP-367:
-

Github user manuzhang commented on the issue:

https://github.com/apache/incubator-gearpump/pull/226
  
R: @huafengw 

The failed test `AppMasterSpec` is unrelated to this PR.



> Unnecessary use of window processing
> 
>
> Key: GEARPUMP-367
> URL: https://issues.apache.org/jira/browse/GEARPUMP-367
> Project: Apache Gearpump
>  Issue Type: Improvement
>  Components: streaming
>Affects Versions: 0.8.4
>Reporter: Manu Zhang
>Assignee: Manu Zhang
>Priority: Major
>




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


[jira] [Commented] (GEARPUMP-369) "executor-num" is overridden by the default value for arg "executors"(1)

2018-04-05 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on GEARPUMP-369:
-

Github user codecov-io commented on the issue:

https://github.com/apache/incubator-gearpump/pull/242
  
# 
[Codecov](https://codecov.io/gh/apache/incubator-gearpump/pull/242?src=pr=h1)
 Report
> Merging 
[#242](https://codecov.io/gh/apache/incubator-gearpump/pull/242?src=pr=desc) 
into 
[master](https://codecov.io/gh/apache/incubator-gearpump/commit/8aac07b86d4b90e4f5118f3204610d3510f93b02?src=pr=desc)
 will **increase** coverage by `0.09%`.
> The diff coverage is `50%`.



```diff
@@Coverage Diff @@
##   master #242  +/-   ##
==
+ Coverage   68.94%   69.03%   +0.09% 
==
  Files 191  191  
  Lines6128 6130   +2 
  Branches  542  540   -2 
==
+ Hits 4225 4232   +7 
+ Misses   1903 1898   -5
```




> "executor-num" is overridden by the default value for arg "executors"(1) 
> -
>
> Key: GEARPUMP-369
> URL: https://issues.apache.org/jira/browse/GEARPUMP-369
> Project: Apache Gearpump
>  Issue Type: Bug
>  Components: core
>Affects Versions: 0.8.4, 0.8.5
>Reporter: Hashan Gayasri Udugahapattuwa
>Priority: Minor
>
> org/apache/gearpump/cluster/main/AppSubmitter.scala:62
> System.setProperty(Constants.APPLICATION_EXECUTOR_NUMBER, 
> config.getInt("executors").toString)
>  
> replaces the value set by system properties (gear.conf) by the default 
> value(1) even when no value is passed at as an argument. The expected 
> behaviour is to only override the value when a value is given explicitly.



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


[jira] [Commented] (GEARPUMP-369) "executor-num" is overridden by the default value for arg "executors"(1)

2018-04-05 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on GEARPUMP-369:
-

Github user manuzhang commented on the issue:

https://github.com/apache/incubator-gearpump/pull/242
  
R: @huafengw 


> "executor-num" is overridden by the default value for arg "executors"(1) 
> -
>
> Key: GEARPUMP-369
> URL: https://issues.apache.org/jira/browse/GEARPUMP-369
> Project: Apache Gearpump
>  Issue Type: Bug
>  Components: core
>Affects Versions: 0.8.4, 0.8.5
>Reporter: Hashan Gayasri Udugahapattuwa
>Priority: Minor
>
> org/apache/gearpump/cluster/main/AppSubmitter.scala:62
> System.setProperty(Constants.APPLICATION_EXECUTOR_NUMBER, 
> config.getInt("executors").toString)
>  
> replaces the value set by system properties (gear.conf) by the default 
> value(1) even when no value is passed at as an argument. The expected 
> behaviour is to only override the value when a value is given explicitly.



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


[jira] [Commented] (GEARPUMP-369) "executor-num" is overridden by the default value for arg "executors"(1)

2018-04-05 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on GEARPUMP-369:
-

GitHub user manuzhang opened a pull request:

https://github.com/apache/incubator-gearpump/pull/242

[GEARPUMP-369] Fix configuring number of executors

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

 - [ ] Make sure the commit message is formatted like:
   `[GEARPUMP-] Meaningful description of pull request` 
 - [ ] Make sure tests pass via `sbt clean test`.
 - [ ] Make sure old documentation affected by the pull request has been 
updated and new documentation added for new functionality. 



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/manuzhang/incubator-gearpump 
fix_config_executor_num

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-gearpump/pull/242.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #242


commit 669f4e1ea4669d98fe34a56900bd41a03918787d
Author: manuzhang 
Date:   2018-04-05T10:04:35Z

[GEARPUMP-369] Fix configuring number of executors




> "executor-num" is overridden by the default value for arg "executors"(1) 
> -
>
> Key: GEARPUMP-369
> URL: https://issues.apache.org/jira/browse/GEARPUMP-369
> Project: Apache Gearpump
>  Issue Type: Bug
>  Components: core
>Affects Versions: 0.8.4, 0.8.5
>Reporter: Hashan Gayasri Udugahapattuwa
>Priority: Minor
>
> org/apache/gearpump/cluster/main/AppSubmitter.scala:62
> System.setProperty(Constants.APPLICATION_EXECUTOR_NUMBER, 
> config.getInt("executors").toString)
>  
> replaces the value set by system properties (gear.conf) by the default 
> value(1) even when no value is passed at as an argument. The expected 
> behaviour is to only override the value when a value is given explicitly.



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


[jira] [Created] (GEARPUMP-372) Add tests for `gear` app submition

2018-04-05 Thread Karol Brejna (JIRA)
Karol Brejna created GEARPUMP-372:
-

 Summary: Add tests for `gear` app submition
 Key: GEARPUMP-372
 URL: https://issues.apache.org/jira/browse/GEARPUMP-372
 Project: Apache Gearpump
  Issue Type: Improvement
Reporter: Karol Brejna


When working on a fix I introduced a bug – `gear` was not able to submit an app 
to cluster. 

All the tests passed, though.

We need to add some tests for that case.

See: 
https://issues.apache.org/jira/browse/GEARPUMP-368?focusedCommentId=16426513=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-16426513



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


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

2018-04-05 Thread Karol Brejna (JIRA)

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

Karol Brejna edited comment on GEARPUMP-368 at 4/5/18 7:15 AM:
---

[~hashan] , you are right. I reproduce the problem with gear. "All green" tests 
it has lulled my vigilance.


was (Author: karol_brejna):
[~hashan] , you are right. I reproduce the problem with gear. "All grean" tests 
it has lulled my vigilance.

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


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

2018-04-05 Thread Karol Brejna (JIRA)

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

Karol Brejna commented on GEARPUMP-368:
---

[~hashan] , you are right. I reproduce the problem with gear. "All grean" tests 
it has lulled my vigilance.

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


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

2018-04-05 Thread Karol Brejna (JIRA)

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

Karol Brejna edited comment on GEARPUMP-368 at 4/5/18 6:58 AM:
---

[~mauzhang] , yes I was testing both finite and infinite examples (complex 
dag). For both tests deploying with UI doesn't work. Deploying with gear 
worked. I forgot we now have 2 version of wordcound, one of which (dsl) 
finishes quickly. Thank for reminding it ;)

 

[~hashan] , I was sure I tested gear submitting with success for basic examples 
(wordcount, complex dag). Let me retry with what you did.

 

 


was (Author: karol_brejna):
[~mauzhang] , yes I was testing both finite and infinite examples (complex 
dag). For both tests deploying with UI doesn't work. Deploying with gear 
worked. I forgot we now have 2 version of wordcound, one of which (dsl) 
finishes quickly. Thank for reminding it ;)

 

[~hashan] , I was testing gear submitting with success for basic examples 
(wordcount, complex dag). Let me retry with what you did.

 

 

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


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

2018-04-05 Thread Karol Brejna (JIRA)

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

Karol Brejna commented on GEARPUMP-368:
---

[~mauzhang] , yes I was testing both finite and infinite examples (complex 
dag). For both tests deploying with UI doesn't work. Deploying with gear 
worked. I forgot we now have 2 version of wordcound, one of which (dsl) 
finishes quickly. Thank for reminding it ;)

 

[~hashan] , I was testing gear submitting with success for basic examples 
(wordcount, complex dag). Let me retry with what you did.

 

 

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


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

2018-04-05 Thread Hashan Gayasri Udugahapattuwa (JIRA)

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

Hashan Gayasri Udugahapattuwa edited comment on GEARPUMP-368 at 4/5/18 6:06 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)
-consumers (required:false, default:1)
-message_size (required:false, default:100)
-pipeline_stages (required:false, default:2)
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)
-count (required:false, default:1)
-BROKER_LIST (required:true)
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]


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

2018-04-05 Thread Hashan Gayasri Udugahapattuwa (JIRA)

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

Hashan Gayasri Udugahapattuwa commented on GEARPUMP-368:


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)
-consumers (required:false, default:1)
-message_size (required:false, default:100)
-pipeline_stages (required:false, default:2)
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)
-count (required:false, default:1)
-BROKER_LIST (required:true)
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 
[https://github.com/apache/incubator-gearpump/commit/2d2f279533a221c7b9317440a13cd2570267b85e]

 

> Application details page does not load
> 

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

2018-04-05 Thread Hashan Gayasri Udugahapattuwa (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEARPUMP-368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hashan Gayasri Udugahapattuwa updated GEARPUMP-368:
---
Attachment: (was: logs.tar.xz)

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


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

2018-04-05 Thread Hashan Gayasri Udugahapattuwa (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEARPUMP-368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hashan Gayasri Udugahapattuwa updated GEARPUMP-368:
---
Attachment: logs.zip

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


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

2018-04-05 Thread Hashan Gayasri Udugahapattuwa (JIRA)

 [ 
https://issues.apache.org/jira/browse/GEARPUMP-368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hashan Gayasri Udugahapattuwa updated GEARPUMP-368:
---
Attachment: logs.tar.xz

> 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.tar.xz
>
>
> 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)