You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Andrew Chung (JIRA)" <ji...@apache.org> on 2015/12/04 19:02:11 UTC
[jira] [Commented] (REEF-1000) Allow more configuration in
VortexLauncher
[ https://issues.apache.org/jira/browse/REEF-1000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15041876#comment-15041876 ]
Andrew Chung commented on REEF-1000:
------------------------------------
It seems like we already expose the concept of Tang configurations through {{getVortexConf}} in {{VortexConfHelper}}. Should we just expose {{VortexMasterConf}}? On another note, what would {{CommandLine}} be used for?
> 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)