-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
Allow PID file path to be relative when daemonize a process (scheduler, kerberos, etc) #13232
Conversation
This PR is updated to adopt different solution, based on the latest discussion in #13200 . |
…r, kerberos, etc) Closes apache#13200. Currently, if the PID file path provided is relative, the process silently fails to launch. This fix ensures the PID path specified to be a normalized absolutized path eventually (expand with cwd), no matter the given value is relative or absolute.
@ashb any further inputs before we merge this? |
The PR most likely needs to run full matrix of tests because it modifies parts of the core of Airflow. However, committers might decide to merge it quickly and take the risk. If they don't merge it quickly - please rebase it to the latest master at your convenience, or amend the last commit of the PR, and push it with --force-with-lease. |
…r, kerberos, etc) (apache#13232) Closes apache#13200. Currently, if the PID file path provided is relative, the process silently fails to launch. This fix ensures the PID path specified to be a normalized absolutized path eventually (expand with cwd), no matter the given value is relative or absolute. (cherry picked from commit 93e4787)
…r, kerberos, etc) (#13232) Closes #13200. Currently, if the PID file path provided is relative, the process silently fails to launch. This fix ensures the PID path specified to be a normalized absolutized path eventually (expand with cwd), no matter the given value is relative or absolute. (cherry picked from commit 93e4787)
Closes #13200 (please refer to #13200 for detailed background and discussion.)
Currently, if the PID file path provided is relative, the process silently fails to launch.
This fix ensures the path specified to be a normalized absolutized path eventually (expand with cwd), no matter the given value is relative or absolute.
This PR also tries to increase coverage a little bit.
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.