You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Markus Weimer (JIRA)" <ji...@apache.org> on 2015/03/07 01:23:38 UTC

[jira] [Closed] (REEF-37) Confusing names for the class NumberOfProcesses

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

Markus Weimer closed REEF-37.
-----------------------------
       Resolution: Fixed
    Fix Version/s: 0.11

Closed via [#98|https://github.com/apache/incubator-reef/pull/98]

> Confusing names for the class NumberOfProcesses
> -----------------------------------------------
>
>                 Key: REEF-37
>                 URL: https://issues.apache.org/jira/browse/REEF-37
>             Project: REEF
>          Issue Type: Task
>          Components: REEF Runtime Local
>            Reporter: John Yang
>            Priority: Minor
>             Fix For: 0.11
>
>
> The class name is NumberOfProcesses, but its short_name is nThreads.
> Also in LocalDriverConfiguration we have NUMBER_OF_PROCESSES and in LocalRuntimeConfiguration we have NUMBER_OF_THREADS which are basically the same thing.
> We should have just 1 name for the number. The possible candidates are NUMBER_OF_CONTAINERS or NUMBER_OF_NODES(if we stick to simulating 1 slot per 1 node).
> As some classes in reef-examples & reef-tests set NUMBER_OF_THREADS using their own static global variable, those variable names need to be changed as well.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)