You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@superset.apache.org by gi...@git.apache.org on 2017/09/29 23:17:23 UTC

[GitHub] rjpereira opened a new issue #3557: "Results backend isn't configured" with Celery DynamoDB backend

rjpereira opened a new issue #3557: "Results backend isn't configured" with Celery DynamoDB backend
URL: https://github.com/apache/incubator-superset/issues/3557
 
 
   Make sure these boxes are checked before submitting your issue - thank you!
   
   - [X] I have checked the superset logs for python stacktraces and included it here as text if any
   - [X] I have reproduced the issue with at least the latest released version of superset
   - [X] I have checked the issue tracker for the same issue and I haven't found one similar
   
   ### Superset version
   
   0.20.0 from pypi
   
   ### Expected results
   
   Successful completion of async query
   
   ### Actual results
   
   Get "Results backend isn't configured." in UI, no error log on console. Celery processing seems successfull
   
   ### Steps to reproduce
   
   The following is my Celery configuration on superset_config.py.
   All the AWS configuration seems to be working ok:
   a) I see the request being deposited on queue
   b) I see the worker executing the query and queue becoming empty
   c) I see the result of the query being appended to DynamoDB table
   
   ```
   class CeleryConfig(object):
       BROKER_URL = 'sqs://'
       BROKER_TRANSPORT_OPTIONS = {
           'region': os.environ.get('AWS_DEFAULT_REGION','eu-west-1')
       }
       CELERY_RESULT_BACKEND = 'dynamodb://@/celery_results?read=5&write=5'
       CELERY_IMPORTS = ('superset.sql_lab', )
       CELERY_ANNOTATIONS = {'tasks.add': {'rate_limit': '10/s'}}
   ```
   
   Still after everything seeming to work ok, no error on console, I get "Results backend isn't configured" on UI.
   
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services