You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/03/15 16:53:35 UTC
[GitHub] [airflow] Visya commented on issue #14733: Contributors quick start for Mac
Visya commented on issue #14733:
URL: https://github.com/apache/airflow/issues/14733#issuecomment-799577069
I have a problem on my Mac.
In my case mysql container created by Breeze constantly restarts.
```
> ./breeze --python 3.8 --backend mysql
####################################################################################################
Port forwarding:
Ports are forwarded to the running docker containers for webserver and database
* 28080 -> forwarded to Airflow webserver -> airflow:8080
* 25555 -> forwarded to Flower dashboard -> airflow:5555
* 25433 -> forwarded to Postgres database -> postgres:5432
* 23306 -> forwarded to MySQL database -> mysql:3306
* 26379 -> forwarded to Redis broker -> redis:6379
Here are links to those services that you can use on host:
* Webserver: http://127.0.0.1:28080
* Flower: http://127.0.0.1:25555
* Postgres: jdbc:postgresql://127.0.0.1:25433/airflow?user=postgres&password=airflow
* Mysql: jdbc:mysql://127.0.0.1:23306/airflow?user=root
* Redis: redis://127.0.0.1:26379/0
####################################################################################################
You can setup autocomplete by running 'breeze setup-autocomplete'
####################################################################################################
You can toggle ascii/cheatsheet by running:
* breeze toggle-suppress-cheatsheet
* breeze toggle-suppress-asciiart
####################################################################################################
ERROR: for airflow Container "068f1006a91c" is unhealthy.
ERROR: Encountered errors while bringing up the project.
ERROR: The previous step completed with error. Please take a look at output above
```
I can run `breeze restart` and `breeze start-airflow`, but I can't connect to mysql or run tests.
```
> ./breeze --backend mysql --mysql-version 5.7 --python 3.8 --db-reset --test-type All tests
Backend: mysql
MySQL version: 5.7
Python version: 3.8
Resetting the DB!
Selected test type: All
182f3d0a12609a1fec40de7f9d0de83cb893427484d236f3fab4650b2b3c5524
CI image.
Branch name: master
Docker image: apache/airflow:master-python3.8-ci
GitHub cache prefix: docker.pkg.github.com/apache/airflow
Airflow source version: 2.1.0.dev0
Python version: 3.8
DockerHub user: apache
DockerHub repo: airflow
Backend: mysql 5.7
ERROR: for airflow Container "068f1006a91c" is unhealthy.
ERROR: Encountered errors while bringing up the project.
ERROR: The previous step completed with error. Please take a look at output above
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org