syafiqdante commented on issue #7972: Celery throws error when using ctas 
URL: 
https://github.com/apache/incubator-superset/issues/7972#issuecomment-520717927
 
 
   Sorry for the late reply, I did check on Celery Flower, and it gives out 
errors when I use command
   `celery flower --app=superset.tasks.celery_app:app`
   Error:
   ```
   2019-08-13 14:43:09,399:INFO:flower.command:Visit me at http://localhost:5555
   2019-08-13 14:43:09,417:INFO:flower.command:Broker: 
sqla+sqlite:///celerydb.sqlite
   2019-08-13 14:43:09,423:INFO:flower.command:Registered tasks:
   ['celery.accumulate',
    'celery.backend_cleanup',
    'celery.chain',
    'celery.chord',
    'celery.chord_unlock',
    'celery.chunks',
    'celery.group',
    'celery.map',
    'celery.starmap',
    'email_reports.schedule_hourly',
    'email_reports.send',
    'superset.sql_lab.get_sql_results']
   2019-08-13 14:43:09,460:INFO:kombu.mixins:Connected to 
sqla+sqlite:///celerydb.sqlite
   2019-08-13 14:43:14,441:WARNING:flower.api.control:'stats' inspect method 
failed
   2019-08-13 14:43:14,441:WARNING:flower.api.control:'active_queues' inspect 
method failed
   2019-08-13 14:43:14,441:WARNING:flower.api.control:'registered' inspect 
method failed
   2019-08-13 14:43:14,441:WARNING:flower.api.control:'scheduled' inspect 
method failed
   2019-08-13 14:43:14,442:WARNING:flower.api.control:'active' inspect method 
failed
   2019-08-13 14:43:14,442:WARNING:flower.api.control:'reserved' inspect method 
failed
   2019-08-13 14:43:14,442:WARNING:flower.api.control:'revoked' inspect method 
failed
   2019-08-13 14:43:14,442:WARNING:flower.api.control:'conf' inspect method 
failed
   ```
   snapshot of flower web:
   ![flower page 
1](https://user-images.githubusercontent.com/46438728/62921877-84348500-bddc-11e9-9935-2177bc2dac10.PNG)
   ![flower page 
2](https://user-images.githubusercontent.com/46438728/62921878-84348500-bddc-11e9-8d94-7324917f9fe7.PNG)
   ![flower page 
3](https://user-images.githubusercontent.com/46438728/62921879-84cd1b80-bddc-11e9-97d7-aa6da434a81b.PNG)
   
   I have changed the superset_config.py for sqlalchemy to connect direct to my 
database and it still doesn't solve the problem.
   superset_config:
   `SQLALCHEMY_DATABASE_URI = 'mysql://username:password@<host 
ip>:3306/<schema>`
   
   I am quite new to this superset, 
   your help is very much appreciated
   

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to