Created on 02-13-2017 02:57 PM - edited 08-18-2019 03:33 AM
We have HDP 2.5.3 deployed on RedHat Linux with Phoenix Query Server (PQS) in front of Phoenix+HBase. Our plan is to use ODBC on Windows Server through Phoenix Query Server to access HBase.
We are looking for a solution WITHOUT using Kerberos. We would like to turn on httpS on the PQS to secure the connection.
The data flow would look like this.
We tested that once the ODBC DSN is configured with a username and password, the request sent out from it to PQS does use HTTP Basic Authentication.
We need help on:
Are these above configurations possible? Thanks for any help!
Created 02-13-2017 04:09 PM
"How to have PQS turn on HTTP Basic authentication to authenticate the calls from ODBC?"
This is not supported by PQS, but the code exists in Avatica to support it.
http://calcite.apache.org/avatica/docs/security.html#http-basic-authentication
Your only route presently is to modify Phoenix to support this.
"How to turn on httpS on PQS to secure the connection?"
This presently is not supported by PQS.
"How to impersonate the calls from PQS to HBase with the authenticated user?"
This is only supported via SPNEGO authentication in PQS.
http://calcite.apache.org/avatica/docs/security.html#impersonation
Again, you can modify Phoenix to support this but there is no out of the box solution.
--
You can consider the use of Apache Knox to sit between the ODBC driver and PQS which would provide TLS and configurable authentication.
Created 02-13-2017 04:09 PM
"How to have PQS turn on HTTP Basic authentication to authenticate the calls from ODBC?"
This is not supported by PQS, but the code exists in Avatica to support it.
http://calcite.apache.org/avatica/docs/security.html#http-basic-authentication
Your only route presently is to modify Phoenix to support this.
"How to turn on httpS on PQS to secure the connection?"
This presently is not supported by PQS.
"How to impersonate the calls from PQS to HBase with the authenticated user?"
This is only supported via SPNEGO authentication in PQS.
http://calcite.apache.org/avatica/docs/security.html#impersonation
Again, you can modify Phoenix to support this but there is no out of the box solution.
--
You can consider the use of Apache Knox to sit between the ODBC driver and PQS which would provide TLS and configurable authentication.
Created 02-13-2017 04:12 PM
HI Josh,
Thank you very much for your reply. Could you take a look at question: https://community.hortonworks.com/questions/83220/how-to-use-knox-to-securely-access-hbase-through-o...?
Thanks!