OSDir


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

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


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)