You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Zameer Manji (JIRA)" <ji...@apache.org> on 2015/12/28 03:53:49 UTC
[jira] [Commented] (AURORA-216) allow aurora executor to be
customized via the commandline
[ https://issues.apache.org/jira/browse/AURORA-216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15072365#comment-15072365 ]
Zameer Manji commented on AURORA-216:
-------------------------------------
Keeping this ticket open even though it is stale because I think it would be a valuable addition to the executor. It can be extended in lots of ways with its internal plugin system but it is not exposed in the CLI right now.
> allow aurora executor to be customized via the commandline
> ----------------------------------------------------------
>
> Key: AURORA-216
> URL: https://issues.apache.org/jira/browse/AURORA-216
> Project: Aurora
> Issue Type: Story
> Components: Executor
> Reporter: brian wickman
> Priority: Minor
>
> Right now the AuroraExecutor takes runner_provider, sandbox_provider and status_providers. These need to be the following:
> - runner_provider: TaskRunnerProvider (assigned_task -> TaskRunner)
> - status_providers: list(StatusCheckerProvider) (assigned_task -> StatusChecker)
> - sandbox_provider: SandboxProvider (assigned_task -> SandboxInterface)
> These are generic enough that we should allow these to be specified on the command line as entry points, for example, something like:
> {noformat}
> --runner_provider apache.aurora.executor.thermos_runner:ThermosTaskRunnerProvider
> --status_provider apache.aurora.executor.common.health_checker:HealthCheckerProvider
> --status_provider myorg.zookeeper:ZkAnnouncerProvider
> --sandbox_provider myorg.docker:DockerSandboxProvider
> {noformat}
> Then have these loaded up using pkg_resources.EntryPoint. These plugins can either be linked into the .pex or injected onto the PYTHONPATH of the executor.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)