You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "rydka (via GitHub)" <gi...@apache.org> on 2023/05/03 15:29:33 UTC

[GitHub] [superset] rydka opened a new issue, #23920: Error connection Apache Superset To Apache Druid

rydka opened a new issue, #23920:
URL: https://github.com/apache/superset/issues/23920

   Hello !
   
   I am trying to set up a connexion between Superset and Apache Druid 
   
   In Superset's Create Database Tab I define the connexion as follows :
   
   druid://admin:admin@127.0.0.1:8082/druid/v2/sql 
   
   But I keep receiving this error : 
   
   `2023-05-03 15:10:32,466:WARNING:superset.views.base:SupersetErrorsException
   Traceback (most recent call last):
     File "/app/superset/databases/commands/test_connection.py", line 164, in run
       raise DBAPIError(ex_str or None, None, None)
   sqlalchemy.exc.DBAPIError: (builtins.NoneType) None
   (Background on this error at: https://sqlalche.me/e/14/dbapi)
   
   The above exception was the direct cause of the following exception:
   
   Traceback (most recent call last):
     File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1517, in full_dispatch_request
       rv = self.dispatch_request()
     File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1503, in dispatch_request
       return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
     File "/usr/local/lib/python3.8/site-packages/flask_appbuilder/security/decorators.py", line 95, in wraps
       return f(self, *args, **kwargs)
     File "/app/superset/views/base_api.py", line 127, in wraps
       raise ex
     File "/app/superset/views/base_api.py", line 121, in wraps
       duration, response = time_function(f, self, *args, **kwargs)
     File "/app/superset/utils/core.py", line 1596, in time_function
       response = func(*args, **kwargs)
     File "/app/superset/utils/log.py", line 266, in wrapper
       value = f(*args, **kwargs)
     File "/app/superset/views/base_api.py", line 93, in wraps
       return f(self, *args, **kwargs)
     File "/app/superset/databases/api.py", line 869, in test_connection
       TestConnectionDatabaseCommand(item).run()
     File "/app/superset/databases/commands/test_connection.py", line 193, in run
       raise SupersetErrorsException(errors) from ex
   superset.exceptions.SupersetErrorsException: [SupersetError(message='(builtins.NoneType) None\n(Background on this error at: https://sqlalche.me/e/14/dbapi)', error_type=<SupersetErrorType.GENERIC_DB_ENGINE_ERROR: 'GENERIC_DB_ENGINE_ERROR'>, level=<ErrorLevel.ERROR: 'error'>, extra={'engine_name': 'Apache Druid', 'issue_codes': [{'code': 1002, 'message': 'Issue 1002 - The database returned an unexpected error.'}]})]`
   
   Setting : 
   
   The Apache Druid Broker is running on port 8082. 
   I've tried running Apache Druid on the last version apache-druid-25.0.0 as well as on version 0.20.1 to follow the procedure from this website https://hevodata.com/learn/druid-superset-integration-3-easy-steps/#asip
   The version of superset used is 2.1.0
   
   Thank you for your time
   
   


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

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org.apache.org

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


Re: [I] Error connection Apache Superset To Apache Druid [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #23920: Error connection Apache Superset To Apache Druid
URL: https://github.com/apache/superset/issues/23920


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

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

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


Re: [I] Error connection Apache Superset To Apache Druid [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #23920:
URL: https://github.com/apache/superset/issues/23920#issuecomment-1968327437

   I'm not sure if this is still an issue in current versions of Superset (3.x). If it is, we can re-open this, or feel free to open a new issue with updated context and a reproducible case using example data. We're no longer supporting Superset 2.x or prior, and it's been a while since this thread saw any activity, so I'm closing this as stale.
   


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

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

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