-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Python][Bug] Yielded pipeline does not run on the specified task queue. #52
Comments
Not expected but we have the same issue. Definitely worth investigating On Sun, Aug 9, 2015, 1:25 AM Mayank Bhagya [email protected] wrote:
|
I think that happens because the queue name is taken from _PipelineContext rather than the pipeline itself. I am still not sure because I haven't investigated whether the yielded pipelines inherit the context from their parent pipelines. |
Yes, I too would love to have this feature (controlling the task queue on a per-task rather than per-pipeline basis). My usecase is the following: I have some tasks which require a small number of larger (B4) instances while others require a large number of smaller (F2) instances. Thus I have two modules: one with auto-scaling F2s and the other with manual scaling B2s. I would be nice to integrate all this with pipelines (currently it's a Rube-Goldberg machine with tasks and asynchronous pipelines). |
I have a pipeline 'P2' which has overridden the 'queue_name' property and returns 'Q2'.
I have another pipeline 'P1' which runs on the 'default' queue and yields 'P2'.
When yielded, the 'P2' task still runs on the 'default' queue rather than 'Q2'.
Is that a bug? Or is that behavior expected?
@aozarov and I had a related discussion here: http://stackoverflow.com/questions/31854634/set-queue-name-in-yielded-pipelines
The text was updated successfully, but these errors were encountered: