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

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

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

Hashan Gayasri Udugahapattuwa commented on GEARPUMP-368:


Hi Manu,

I was testing with org.apache.gearpump.streaming.examples.wordcount.WordCount 
and other _unbounded_ examples since the application details page is 
unreachable after the application finishes (as in 
org.apache.gearpump.streaming.examples.wordcount.dsl.WordCount). Sorry for not 
mentioning that earlier. 

 

> 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
>
>
> 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-04 Thread Manu Zhang (JIRA)

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

Manu Zhang commented on GEARPUMP-368:
-

Hashan and Karol,

 

The default example of gearpump-examples-wordcount_2.11-0.8.5-SNAPSHOT.jar is 
to process a finite dataset and thus finishes in a short time. 

You may try {{bin/gear app -jar 
output/target/pack/examples/gearpump-examples-wordcount_2.11-0.8.5-SNAPSHOT.jar 
org.apache.gearpump.streaming.examples.wordcount.WordCount}} which will run the 
infinite version of word count.

 

I think it's a good point to change the default example to the infinite version 
since Gearpump has been designed to process infinite data

 

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


Re: Podling Report Reminder - September 2017

2018-04-04 Thread Jean-Baptiste Onofré
Hi,

I put the report on the incubator wiki and signed if off.

Thanks !
Regards
JB

On 09/03/2017 04:29 PM, Manu Zhang wrote:
> Gearpump is a reactive real-time streaming engine based on the
> micro-service Actor model.
>  Gearpump has been incubating since 2016-03-08.
> 
>  Three most important issues to address in the move towards graduation:
> 
>  1. Have frequent release cycles.
>  2. Continue to evolve community interest and support.
>  3. Increase user adoption.
> 
> 
>  - Any issues that the Incubator PMC (IPMC) or ASF Board wish/need to be
> aware
>  of?
>  - None.
> 
> 
>  - How has the community developed since the last report?
>  - Gearpump took part in Google Summer of Code 2017 project and it has been
> succeffully accompolished by student, Buddhi Ayesha, who is interested in
> making more contributions beyond the project.
> 
>  - How has the project developed since the last report?
>  - 32 issues created and 20 issues resolved.
>  - Gearpump Runner has been merged into Apache Beam trunk.
>  - An experimental SQL support has been added and state management is under
> development.
> 
>  Date of last release:
>  2017-07-17
> 
> 
>  When were the last committers or PMC members elected?
>  No new committers or PMC members elected yet.
> 
>  Signed-off-by:
> 
>  [ ](gearpump) Jean-Baptiste Onofré
>  [ ](gearpump) Andrew Purtell
>  [ ](gearpump) Jarek Jarcec Cecho
>  [ ](gearpump) Reynold Xin
>  [ ](gearpump) Todd Lipcon
>  [ ](gearpump) Xuefu Zhang

-- 
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com


[GitHub] incubator-gearpump pull request #241: [GEARPUMP-368] Restore setting runtime...

2018-04-04 Thread karol-brejna-i
GitHub user karol-brejna-i opened a pull request:

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

[GEARPUMP-368] Restore setting runtime env

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

 - [x] Make sure the commit message is formatted like:
   `[GEARPUMP-] Meaningful description of pull request` 
 - [x] Make sure tests pass via `sbt clean test`.
 - [x] 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/karol-brejna-i/incubator-gearpump 
GEARPUMP-368_submit_app_via_ui

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

https://github.com/apache/incubator-gearpump/pull/241.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 #241


commit 7fabcafcd58c39d99a669ddf9cbc3e0e38221978
Author: karol-brejna-i 
Date:   2018-04-04T13:54:49Z

[GEARPUMP-368] Restore setting runtime env




---


[GitHub] incubator-gearpump issue #241: [GEARPUMP-368] Restore setting runtime env

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

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



```diff
@@Coverage Diff @@
##   master #241  +/-   ##
==
+ Coverage   68.94%   69.06%   +0.11% 
==
  Files 191  191  
  Lines6128 6129   +1 
  Branches  542  531  -11 
==
+ Hits 4225 4233   +8 
+ Misses   1903 1896   -7
```




---


[GitHub] incubator-gearpump issue #241: [GEARPUMP-368] Restore setting runtime env

2018-04-04 Thread karol-brejna-i
Github user karol-brejna-i commented on the issue:

https://github.com/apache/incubator-gearpump/pull/241
  
Two unrelated test fail:
```
[info] *** 2 TESTS FAILED ***
[error] Failed: Total 35, Failed 2, Errors 0, Passed 33
[error] Failed tests:
[error] 
org.apache.gearpump.services.security.oauth2.GoogleOAuth2AuthenticatorSpec
[error] 
org.apache.gearpump.services.security.oauth2.CloudFoundryUAAOAuth2AuthenticatorSpec
```

One additional test fail:

```
[info] *** 1 TEST FAILED ***
[error] Failed: Total 88, Failed 1, Errors 0, Passed 87
[error] Failed tests:
[error] org.apache.gearpump.cluster.main.MainSpec
```


---


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

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

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

ASF GitHub Bot commented on GEARPUMP-368:
-

Github user karol-brejna-i commented on the issue:

https://github.com/apache/incubator-gearpump/pull/241
  
Two unrelated test fail:
```
[info] *** 2 TESTS FAILED ***
[error] Failed: Total 35, Failed 2, Errors 0, Passed 33
[error] Failed tests:
[error] 
org.apache.gearpump.services.security.oauth2.GoogleOAuth2AuthenticatorSpec
[error] 
org.apache.gearpump.services.security.oauth2.CloudFoundryUAAOAuth2AuthenticatorSpec
```

One additional test fail:

```
[info] *** 1 TEST FAILED ***
[error] Failed: Total 88, Failed 1, Errors 0, Passed 87
[error] Failed tests:
[error] org.apache.gearpump.cluster.main.MainSpec
```


> 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
>
>
> 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-04 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on GEARPUMP-368:
-

Github user codecov-io commented on the issue:

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



```diff
@@Coverage Diff @@
##   master #241  +/-   ##
==
+ Coverage   68.94%   69.06%   +0.11% 
==
  Files 191  191  
  Lines6128 6129   +1 
  Branches  542  531  -11 
==
+ Hits 4225 4233   +8 
+ Misses   1903 1896   -7
```




> 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
>
>
> 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-04 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on GEARPUMP-368:
-

GitHub user karol-brejna-i opened a pull request:

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

[GEARPUMP-368] Restore setting runtime env

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

 - [x] Make sure the commit message is formatted like:
   `[GEARPUMP-] Meaningful description of pull request` 
 - [x] Make sure tests pass via `sbt clean test`.
 - [x] 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/karol-brejna-i/incubator-gearpump 
GEARPUMP-368_submit_app_via_ui

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

https://github.com/apache/incubator-gearpump/pull/241.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 #241


commit 7fabcafcd58c39d99a669ddf9cbc3e0e38221978
Author: karol-brejna-i 
Date:   2018-04-04T13:54:49Z

[GEARPUMP-368] Restore setting runtime env




> 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
>
>
> 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] [Created] (GEARPUMP-371) Introduce [basic] UI tests

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

 Summary: Introduce [basic] UI tests
 Key: GEARPUMP-371
 URL: https://issues.apache.org/jira/browse/GEARPUMP-371
 Project: Apache Gearpump
  Issue Type: Improvement
Reporter: Karol Brejna


Due to problems like https://issues.apache.org/jira/browse/GEARPUMP-368 I think 
having some basic UI tests (automats that "walk" on the web pages) would be 
beneficial.

Some simple things like:
 * submitting an app
 * destroying an app
 * dynamic dag modification

would be a good start.



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


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

2018-04-04 Thread Karol Brejna (JIRA)

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

Karol Brejna commented on GEARPUMP-368:
---

This commit seems to be the cause of the problem: 
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
>
>
> 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] [Created] (GEARPUMP-370) clock does not seem to advance for stateful sources

2018-04-04 Thread Hashan Gayasri Udugahapattuwa (JIRA)
Hashan Gayasri Udugahapattuwa created GEARPUMP-370:
--

 Summary: clock does not seem to advance for stateful sources
 Key: GEARPUMP-370
 URL: https://issues.apache.org/jira/browse/GEARPUMP-370
 Project: Apache Gearpump
  Issue Type: Bug
  Components: core, streaming
Affects Versions: 0.8.5
 Environment: Distributed - SLES(Linux)
Reporter: Hashan Gayasri Udugahapattuwa
 Attachments: logs.tar.xz, 
org.apache.gearpump.streaming.examples.state.tar.xz, 
org.apache.gearpump.streaming.examples.statefuldummytest.tar.xz

Clock does not seem to advance for _stateful_ sources even after the fix for 
0.8.4 (but it was successful in fixing the clock issue in _stateless_ 
applications). 

Even if the "state" example uses a counter starting from EPOCH as the 
timestamp, the clock doesn't seem to advance. 

Recreatable with attached:
 * State example with HBase dependency replaced with Kafka
 * An SOL type *stateful* custom example with configurable pipeline stages and 
parallelism. Implements the TimeReplayableSource API.



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


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

2018-04-04 Thread Hashan Gayasri Udugahapattuwa (JIRA)
Hashan Gayasri Udugahapattuwa created GEARPUMP-369:
--

 Summary: "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


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-368) Application details page does not load

2018-04-04 Thread Karol Brejna (JIRA)

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

Karol Brejna commented on GEARPUMP-368:
---

[~hashan] , thanks for the report. I think I was able to reproduce the problem. 

> 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
>
>
> 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-04 Thread Hashan Gayasri Udugahapattuwa (JIRA)

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

Hashan Gayasri Udugahapattuwa commented on GEARPUMP-368:


Please let me know if any logs or dumps are needed to recreate the issue

> 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
>
>
> 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-04 Thread Karol Brejna (JIRA)

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

Karol Brejna commented on GEARPUMP-368:
---

Looks like there is indeed something wrong.

Checked wordcount example (gearpump-examples-wordcount and complexdag). In the 
logs (ui) I see the app starts to run and then finishes:
{code:java}
2018-04-04 10:34:26,709 INFO redirect: [AppManager] Application 1 change to 
active at 1522830866705
2018-04-04 10:34:26,710 INFO redirect: [AppMaster@app1] AppMaster for app1 is 
activated
2018-04-04 10:34:27,343 INFO redirect: 
(is,1)(bingo!!,2)(a,1)(good,1)(This,1)(start,,1)[AppManager] Application 1 
change to succeeded at 1522830867340
2018-04-04 10:34:27,343 INFO redirect: [AppManager] Shutdown AppMaster at 
akka://master/user/Worker0, appId: 1, executorId: -1
2018-04-04 10:34:27,343 INFO redirect: [Worker@workerWorkerId(0,1522830864990)] 
Shutdown executor app1-executor-1(akka://master/user/Worker0/$c) due to: 
AppMaster 1 shutdown requested by master...
2018-04-04 10:34:27,344 INFO redirect: [RunningApplication$] Application 1 
succeeded{code}
 applicationData folder is not created at all. 

Will investigate further.

 

> 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
>
>
> 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-04 Thread Karol Brejna (JIRA)

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

Karol Brejna updated GEARPUMP-368:
--
Attachment: gearpump-worker-47538.log
gearpump-ui-47572.log
gearpump-master-47505.log

> 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
>
>
> 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] [Assigned] (GEARPUMP-368) Application details page does not load

2018-04-04 Thread Karol Brejna (JIRA)

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

Karol Brejna reassigned GEARPUMP-368:
-

Assignee: Karol Brejna

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