Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQLAlchemy URI for hive problem #2632

Closed
3 tasks done
hungrytortoise opened this issue Apr 17, 2017 · 6 comments · Fixed by #13608
Closed
3 tasks done

SQLAlchemy URI for hive problem #2632

hungrytortoise opened this issue Apr 17, 2017 · 6 comments · Fixed by #13608

Comments

@hungrytortoise
Copy link

hungrytortoise commented Apr 17, 2017

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

the lastest version

Expected results

my SQLAlchemy URI is: hive://[email protected]:10000/xxx_dmp_idmapping?auth=NOSASL

Actual results

when i click test connect btn,
ERROR: {"error": "Connection failed!\n\nThe error message returned was:\nCould not start SASL: Error in sasl_client_start (-4) SASL(-4): no mechanism available: No worthy mechs found"}

Steps to reproduce

@xrmx
Copy link
Contributor

xrmx commented Apr 17, 2017

Does not looks a superset issue, more like a config or sqlalchemy dialect issue.

@hungrytortoise
Copy link
Author

i use sqlalchemy URI prefix like "jdbc+hive://..." ,but it does not work too and error msg is
ERROR: {"error": "Connection failed!\n\nThe error message returned was:\nCan't load plugin: sqlalchemy.dialects:jdbc.hive"}
how can i fix this.
tks

@xrmx
Copy link
Contributor

xrmx commented Apr 17, 2017

Still the new error is not superset related

@hungrytortoise
Copy link
Author

solution:yum -y install cyrus-sasl-plain

@fadhlounanis
Copy link

@hungrytortoise could you please tell me which version of superset have you benn using ?

@danny-zhu
Copy link

In debian or unbuntu would be worked by:apt install -y libsasl2-dev libsasl2-2 libsasl2-modules-gssapi-mit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants