You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2014/02/03 04:50:08 UTC

[jira] [Commented] (PHOENIX-19) Enhance JDBC connection of Phoenix to support connecting to a Secure HBase cluster.

    [ https://issues.apache.org/jira/browse/PHOENIX-19?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13889195#comment-13889195 ] 

James Taylor commented on PHOENIX-19:
-------------------------------------

[~anilgupta84] - take a look at PhoenixDriver.getConnectionQueryServices() and ConnectionInfo. You basically want to change ConnectionInfo.create(String url) to also take Properties as an argument. Then you'd pass through the keytab and principal information in the properties and make them part of the ConnectionInfo (which is the key that determines if a new HConnection should be created).

> Enhance JDBC connection of Phoenix to support connecting to a Secure HBase cluster.
> -----------------------------------------------------------------------------------
>
>                 Key: PHOENIX-19
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-19
>             Project: Phoenix
>          Issue Type: Improvement
>    Affects Versions: 2.2.3
>            Reporter: Anil Gupta
>              Labels: hbase, jdbc, secure
>             Fix For: 2.2.3
>
>
> This is being moved from github https://github.com/forcedotcom/phoenix/issues/550 to JIRA.
> As per my discussion with James Taylor over here https://groups.google.com/forum/#!searchin/phoenix-hbase-user/secure$20cluster/phoenix-hbase-user/XHg2wXK4Hqo/qVTm92WLxUkJ
> and some other email exchanges. This ticket is to enhance the JDBC driver of phoenix so that user can pass keytab and principal to connect to a secure cluster.
> As per our discussion over email, could you please outline the changes required to make this enhancement?



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)