spotify/luigi — pull request #21 by danielhfrank (2013-03-13 14:58:58+00:00)
Title: add scheduler_port param

This commit adds a `scheduler_port` parameter to the `EnvironmentParamsContainer` class, allowing tasks to communicate with a scheduler api process listening on aport other than 8082. This was already allowed in `rpc.RemoteScheduler`, I'm just making it possible to access that functionality through `Interface.run`.

I haven't tested this super extensively, just by passing it as a kwarg to `interface.build`. Presumably it would work as a command line param as well.

Please let me know if there's anything else you'd like me to add, such as perhaps mimicking the `scheduler_host` param to read a config file. Thanks!