You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Yunseong Lee (JIRA)" <ji...@apache.org> on 2015/11/21 04:11:11 UTC

[jira] [Created] (REEF-1000) Allow more configuration in VortexLauncher

Yunseong Lee created REEF-1000:
----------------------------------

             Summary: Allow more configuration in VortexLauncher
                 Key: REEF-1000
                 URL: https://issues.apache.org/jira/browse/REEF-1000
             Project: REEF
          Issue Type: Improvement
          Components: Vortex
            Reporter: Yunseong Lee


Vortex launcher takes fixed type of configuration variables, and most of them are related to resource configuration: numWorkers, workerMemory, workerCores, workerCapacity. In our HelloVortex example, the launcher code looks like following.

{code:title=HelloVortex.java}
VortexLauncher.launchLocal("Vortex_Example_HelloVortex", HelloVortexStart.class, 1, 1024, 1, 2000);
{code}

The launcher code looks very simple, and user can easily figure out which parameters are needed from IDE. But this is quite rigid.
# When user wants to change the configuration, she/he should rebuild the project.
# There would be more parameters than the current configuration. We already have REEF-517, but that issue is not about the way we set values.
# Users may want to set configuration specific to application. For example, in {{AddOne}} example, we may want to set the dimension of Vector at runtime.

It would be great for users to do this without much effort. Using Tang would be awesome because they provide {{CommandLine}}.



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