-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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
Setting up Airflow for local development is hard #13838
Comments
@mik-laj I am glad that you raised this topic, since I have been thinking about this too. |
I would love to have those docker-compose files soon as the start of making it easy. And then natively integrate this docker-compose file (similar to breeze but for users) into airflow cli natively similar to astro-cli (https://github.com/astronomer/astro-cli) so that This is just an idea but I mainly suggest docker-compose so that users can easily run Airflow with CeleryExecutor instead of Sequential or Local. Specifically, it is cumbersome to setup a DB (Postgres / MySQL) working. Having a docker-compose file eliminates the need for make sure that they have the correct version of Postgres / MySQL supported by Airflow. |
My thoughts: All for it as well. Breeze is not at all designed for end-users :). I love the idea of @kaxil to integrate running "airflow" in the airflow command line. However there is one caveat - the tool should be - much more than Breeze - supported on Windows. And it should not be needed at all to checkout Airflow code to use it. So Installing airflow via PyPI and running "start-local-airflow" (or something like that) is one of the ways to do it. Unfortunately Airflow as a package is notoriously difficult to even install on Windows (not mentioning running) - the #10388 and #12874 mentioned by @mik-laj but also discussion at slack today (setproctitle preventing from installing airflow for user who wanted to just install virtualenv on windows for Intellij autocompletion): https://apache-airflow.slack.com/archives/CCQ7EGB1P/p1611316718050700 So either we should improve the installability of airflow package on windows (not runnability - that's much more complex :)), or we have a different tool (either go - similar as astro-cli or python). Go would be nicer for portability (we could relase convenience static binaries for different platforms) where python is better for our community to maintain. |
Initially however, easy-to-copy or generate set of docker-compose files that the user will be able just to copy&paste is good enough for start. |
I am most delighted to read this. Coming from a beginner who really wants to learn, understand and use Airflow, i have always had trouble with installation and making parts work together. I commend this initiative and hope it will help newbies get things together with less installation stress |
I don't know if this is needed as it would still be just a |
we can probably close this issue , there is now @eladkal wdyt ? |
yes. It's still hard but not THAT hard. Closing. |
Hello,
Many users have trouble setting up Airflow in their development environment. For now, I would like to focus only on it, but in the future, we may consider improving the documentation for the production environment as well.
I have noticed that there are several problems that we need to solve.
I think it is very important that we deal with this soon because the installation problems are described as a disadvantage of Airflow. Users cannot install and then look for alternatives that are easier to use. These problems cause a lot of messages on Slack. When Airflow is easier to install, we will have to support other users less and the community will be able to grow faster.
Anyone have any comments regarding the installation of Airflow for a new user? I would like to do some work in this area this quarter, so if anyone has any thoughts, I'll be happy to hear it.
Related:
#13655 #8605 #13696 #13727 #13728 #13655 #10388 #12874
The text was updated successfully, but these errors were encountered: