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

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

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

Manu Zhang resolved GEARPUMP-369.
       Resolution: Fixed
         Assignee: Manu Zhang
    Fix Version/s: 0.8.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
>            Assignee: Manu Zhang
>            Priority: Minor
>             Fix For: 0.8.5
> 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