git.net

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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=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)