superset icon indicating copy to clipboard operation
superset copied to clipboard

SQLAlchemy URI for hive problem

Open hungrytortoise opened this issue 9 years ago • 6 comments

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

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

hungrytortoise avatar Apr 17 '17 10:04 hungrytortoise

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

xrmx avatar Apr 17 '17 10:04 xrmx

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

hungrytortoise avatar Apr 17 '17 10:04 hungrytortoise

Still the new error is not superset related

xrmx avatar Apr 17 '17 11:04 xrmx

solution:yum -y install cyrus-sasl-plain

hungrytortoise avatar Apr 18 '17 09:04 hungrytortoise

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

fadhlounanis avatar Jul 19 '17 08:07 fadhlounanis

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

danny-zhu avatar Feb 19 '20 03:02 danny-zhu