Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
0.11.0
-
None
-
None
Description
Use phoenix thin JDBC driver through knox using command:
bin/sqlline-thin.py https://knox_gateway:8443/gateway/default/avatica;authentication=BASIC;avatica_user=guest;avatica_password=guest-password
will get HTTP/401 error.
401 is unauthorized error, that is because in the request header, need to add Authorization Basic
{encodedCredential}. In CALCITE-1025, some changes are proposed to be added on avatica side, but if refer to the support for hive beeline connection, this is done in HiveDispatchUtils. We may need similar thing for phoenix thin.
Also from my testing, knox didnt do ldap authentication for the connection in this case, also need to add this part.
Attachments
Issue Links
- relates to
-
KNOX-314 JDBC/HTTP for Hive Requires Specialized Dispatch
- Closed
-
CALCITE-1025 Add support for HTTP Basic auth (for proxies) in Avatica HTTP Client
- Closed
-
KNOX-844 Add documentation for support of Apache Phoenix via Knox
- Closed