question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't load plugin: sqlalchemy.dialects:jdbc.hive

See original GitHub issue

Make sure these boxes are checked before submitting your issue - thank you!

  • I have checked the superset logs for python stacktraces and included it here as text if any
  • I have reproduced the issue with at least the latest released version of superset
  • I have checked the issue tracker for the same issue and I haven’t found one similar

Superset version

Superset 0.24.0 and similar issue :https://github.com/apache/incubator-superset/issues/2632

Expected results

connect success

Actual results

NoSuchModuleError: Can’t load plugin: sqlalchemy.dialects:jdbc.hive 2018-04-19 17:11:20,523:INFO:werkzeug:172.16.0.20 - - [19/Apr/2018 17:11:20] “POST /superset/testconn HTTP/1.1” 500 - 2018-04-19 17:11:59,895:ERROR:root:Can’t load plugin: sqlalchemy.dialects:jdbc.hive Traceback (most recent call last): File “/usr/lib/python2.7/site-packages/superset/views/core.py”, line 1691, in testconn engine = create_engine(uri, connect_args=connect_args) File “/usr/lib/python2.7/site-packages/sqlalchemy/engine/init.py”, line 419, in create_engine return strategy.create(*args, **kwargs) File “/usr/lib/python2.7/site-packages/sqlalchemy/engine/strategies.py”, line 56, in create entrypoint = u._get_entrypoint() File “/usr/lib/python2.7/site-packages/sqlalchemy/engine/url.py”, line 150, in _get_entrypoint cls = registry.load(name) File “/usr/lib/python2.7/site-packages/sqlalchemy/util/langhelpers.py”, line 221, in load (self.group, name)) NoSuchModuleError: Can’t load plugin: sqlalchemy.dialects:jdbc.hive 2018-04-19 17:11:59,899:INFO:werkzeug:172.16.0.20 - - [19/Apr/2018 17:11:59] “POST /superset/testconn HTTP/1.1” 500 -

Steps to reproduce

I hive use pip install pyhive Requirement already satisfied: pyhive in /usr/lib/python2.7/site-packages (0.5.1) Requirement already satisfied: future in /usr/lib/python2.7/site-packages (from pyhive) (0.16.0)

And my SQLAlchemy URI : jdbc+hive://qing-hadoop-master-srv1:10000/hive

What should I do to solve this problem Beside, impala databases can not be connected either with SQLAlchemy URI : impala://qing-hadoop-master-srv2:26000/test?auth_mechanism=PLAIN&password=impala&user=impala

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
nankingridercommented, May 7, 2018

truely some mis-understanding here in manual there is an example of using " jdbc+hive:// " as prefix of uri

but actucully just " hive:// " is needed for hive datasource, otherwise error will be prompted like posted. need to correct the manual i think ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't load plugin: sqlalchemy.dialects:jdbc.hive - Stack Overflow
I got this working by using the following connection string: hive://<hive_server>:<port> . Essentially you can omit the jdbc bit and get it ...
Read more >
Can't load plugin: sqlalchemy.dialects:jdbc.hive #4846 - GitHub
I have checked the superset logs for python stacktraces and included it here as text if any · I have reproduced the issue...
Read more >
Can't load plugin: sqlalchemy.dialects:jdbc.hive-Apache Mail ...
[GitHub] lindajoseph01 commented on issue #4846: Can't load plugin: sqlalchemy.dialects:jdbc.hive ... I tried hive://localhost:10000/test.
Read more >
Can't load plugin: sqlalchemy.dialects:jdbc.hive
matiji66 opened a new issue #4846: Can't load plugin: sqlalchemy.dialects:jdbc.hive URL: ...
Read more >
Dialects — SQLAlchemy 1.3 Documentation
Dialects ¶. The dialect is the system SQLAlchemy uses to communicate with various types of DBAPI implementations and databases. The sections that follow ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found