[
https://issues.apache.org/jira/browse/GEARPUMP-41?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15259491#comment-15259491
]
ASF GitHub Bot commented on GEARPUMP-41:
----------------------------------------
Github user manuzhang commented on a diff in the pull request:
https://github.com/apache/incubator-gearpump/pull/4#discussion_r61200308
--- Diff: core/src/main/scala/io/gearpump/cluster/ClusterConfig.scala ---
@@ -142,7 +142,7 @@ object ClusterConfig {
if (!akka.util.Helpers.isWindows) {
- // Change the akka.scheduler.tick-duration to 10ms for Linux or Mac
+ // Change the akka.scheduler.tick-duration to 1 ms for Linux or Mac
--- End diff --
I think it's better to load window specific or linux specific
configurations here than later to decide whether a config belongs to windows or
linux
> property akka.scheduler.tick-duration will be override and potentially go
> wrong on Windows
> ------------------------------------------------------------------------------------------
>
> Key: GEARPUMP-41
> URL: https://issues.apache.org/jira/browse/GEARPUMP-41
> Project: Apache Gearpump
> Issue Type: Bug
> Components: daemon
> Affects Versions: 0.8.0
> Reporter: Huafeng Wang
> Assignee: Huafeng Wang
> Attachments: GEARPUMP-41.patch
>
>
> How to reproduce:
> 1. Launch Master and Dashboard on a Linux machine.
> 2. Launch a Worker on a Windows machine.
> 3. Submit an application from dashboard.
> Then the application will fail to launch Executor on Windows because the
> property akka.scheduler.tick-duration is override by the value from Linux
> Machine, which by default is 1.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)