-
Notifications
You must be signed in to change notification settings - Fork 9
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
Infer Runner Deps from Recipe requirements.txt #154
Comments
If the above solution is too gross (which I understand) another option is to write a bunch of validation (most of it just Flink specific) that checks things like:
|
I had this issue recently. Here's how you can easily get into a messed up state:
I think it's important here to either pass down a specific jar in the pipeline options or validate that the apache-beam version installed is similar to what is being configured in the FlinkDeployment. |
Sorry for the delayed response here. I certainly agree that client/runner version mismatch is a huge headache and we should do something about that. To understand, is this issue in a way a version of #27, in which @yuvipanda proposed having a separate fetcher/environment provisioner? |
No, this example diff isn't intended to be a solution in that direction. But I guess the question is that ticket (which seems to be over a year old and referring to the old "orchestrator" idea) still the vision? First time seeing it |
This is a good point for discussion. Regarding references to the "orchestrator", I think we can view #27 as if that does not refer to pangeo-forge/pangeo-forge-orchestrator, and rather means just "little o" orchestrator, as in the person or whom/whatever is calling One idea mentioned in #27 which definitely feels worthwhile to me, is that if we are going to approach automatic environment modification in any form, that should definitely be happening in temporary venvs of some sort, as is (IIUC) done in Over in the GitHub Action, I do a version of what your example diff is proposing: Which feels appropriate to me because the Action is only ever called within the context of an ephemeral GitHub Action container, so we are not going to be modifying (human) user environments on-the-fly with that code. In I would be curious to understand more about how |
Agreed, let me start looking into options down this pathway |
YESSSS I THINK STEALING WHAT |
fucking amazing |
Problem
I apologize for the range of this question b/c I got here through some Flink runner frustrations. For the runner we currently have a bunch of unlisted runtime dependencies that need to be installed to execute
pangeo-forge-runner bake
command:Possible Solution
AFAIK for
pangeo-forge-recipes>=0.10.0
we require arequirements.txt
to be in the feedstock. So I want to build on(#130) and ask if there any reason we can't do something automated (but slightly gross) like this really basic example diff?
Thoughts?
The text was updated successfully, but these errors were encountered: