-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
Command airflow scheduler -p fails unexpectedly #14831
Comments
Thanks for opening your first issue here! Be sure to follow the issue template! |
also happens in Airflow 2.0 |
@esc did you use Docker Compose to run Airflow==1.10. Could you point me to the documentation where I could follow to reproduce this issue? I was using this: https://github.com/apache/airflow/blob/main/CONTRIBUTORS_QUICK_START.rst#setup-and-develop-using-visual-studio-code, I think it is not the right way. According to this |
It has been over a year since I debugging this. Unfortunately I have forgotten by now how I ran this, so sorry. Also, I don't think I followed any documentation in the first place so I wouldn't know what to point you at. |
I tried to investigate this issue but can not re-produce on latest main. At least for 2.4.0 this should be resolved. |
Closing this then. Thanks @jens-scheffler-bosch for looking at it. we can always reopen or create a new issue if needed. |
Apache Airflow version: apache-airflow==1.10.14
Kubernetes version (if you are using kubernetes) (use
kubectl version
): NoneEnvironment:
uname -a
): Linux numba-linux64-gpu 4.4.0-87-generic Backfill via UI? #110-Ubuntu SMP Tue Jul 18 12:55:35 UTC 2017 x86_64 x86_64 x86_64 GNU/Linuxpip
docker-compose
What happened:
The command
airflow scheduler -p
fails with an error message.What you expected to happen:
Expecting the flag
-p
to mean--do_pickle
as per the command synopsis:What do you think went wrong?
This PR broke it: #11468
After this PR the option
-p
is misinterpreted as--password
.The workaround is to use the long form
--do_pickle
.How to reproduce it:
Run the mentioned command with the correct version of Airflow.
Anything else we need to know:
I have reported this via Slack and Marcos Marx asked me to open an issue about it.
The text was updated successfully, but these errors were encountered: