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
Env vars missing - root cause of 101 issue #1
Comments
I was also going to suggest using
More info on stackoverflow. The TL;DR is Also, you might be able to pass env variables to the subprocess command like this:
I haven't tested it but might be worth a look. |
Yep, we have a similar setup, to inject env variables for bashOperator.. |
Hello @danielbeach,
I think there are separate temporary environments for each task run.. I've found with bash operator, that each run is in a different temporary folder.. Maybe python operator is similar?
UPDATE:
I noticed you were using a particular temporary directory to store, so this shouldn't be an issue
And when you run on a set of Kubernetes workers, shouldn't the download, chmod, and execution be in the same task on the DAG, so they get executed inside the same worker?
The text was updated successfully, but these errors were encountered: