You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2020/06/30 06:53:15 UTC

[GitHub] [incubator-superset] UsherChen opened a new issue #10198: Superset celery beat for scheduler email report doesn't work

UsherChen opened a new issue #10198:
URL: https://github.com/apache/incubator-superset/issues/10198


   I use superset 0.36 in developing mode (code debug). The celery work can send "Test email" successfully. But celery beat doesn't work, that means the Scheduler doesn't work. These are my celery config:
   
   `
   class CeleryConfig:  # pylint: disable=too-few-public-methods
       BROKER_URL = "sqla+sqlite:///celerydb.sqlite"
       #BROKER_URL = "redis://localhost:6379/0"
       CELERY_IMPORTS = ("superset.sql_lab", "superset.tasks")
       CELERY_RESULT_BACKEND = "db+sqlite:///celery_results.sqlite"
       #CELERY_RESULT_BACKEND = "redis://localhost:6379/0"
       CELERYD_LOG_LEVEL = "DEBUG"
       CELERYD_PREFETCH_MULTIPLIER = 1
       CELERY_ACKS_LATE = False
       CELERY_ANNOTATIONS = {
           "sql_lab.get_sql_results": {"rate_limit": "100/s"},
           "email_reports.send": {
               "rate_limit": "1/s",
               "time_limit": 120,
               "soft_time_limit": 150,
               "ignore_result": True,
           },
       }
       CELERYBEAT_SCCHEDULE = {
           "email_reports.schedule_hourly": {
               "task": "email_reports.schedule_hourly",
               "schedule": crontab(minute=1, hour="*"),
           }
       }
   
   `
   I follow official documents and use these commands to start celery:
   `
   celery worker --app=superset.tasks.celery_app:app --pool=prefork -O fair -c 4
   celery beat --app=superset.tasks.celery_app:app
   `
   


----------------------------------------------------------------
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



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


[GitHub] [incubator-superset] nate-goop commented on issue #10198: Superset celery beat for scheduler email report doesn't work

Posted by GitBox <gi...@apache.org>.
nate-goop commented on issue #10198:
URL: https://github.com/apache/incubator-superset/issues/10198#issuecomment-715418622


   what happens if you change CELERYBEAT_SCCHEDULE to CELERYBEAT_SCHEDULE?


----------------------------------------------------------------
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



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


[GitHub] [incubator-superset] stale[bot] commented on issue #10198: Superset celery beat for scheduler email report doesn't work

Posted by GitBox <gi...@apache.org>.
stale[bot] commented on issue #10198:
URL: https://github.com/apache/incubator-superset/issues/10198#issuecomment-683320719


   This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue `.pinned` to prevent stale bot from closing the issue.
   


----------------------------------------------------------------
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



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


[GitHub] [incubator-superset] stale[bot] closed issue #10198: Superset celery beat for scheduler email report doesn't work

Posted by GitBox <gi...@apache.org>.
stale[bot] closed issue #10198:
URL: https://github.com/apache/incubator-superset/issues/10198


   


----------------------------------------------------------------
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



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


[GitHub] [incubator-superset] issue-label-bot[bot] commented on issue #10198: Superset celery beat for scheduler email report doesn't work

Posted by GitBox <gi...@apache.org>.
issue-label-bot[bot] commented on issue #10198:
URL: https://github.com/apache/incubator-superset/issues/10198#issuecomment-651584527


   Issue-Label Bot is automatically applying the label `#bug` to this issue, with a confidence of 0.85. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback! 
   
    Links: [app homepage](https://github.com/marketplace/issue-label-bot), [dashboard](https://mlbot.net/data/apache/incubator-superset) and [code](https://github.com/hamelsmu/MLapp) for this bot.


----------------------------------------------------------------
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



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