phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Elser <josh.el...@gmail.com>
Subject Re: Jdbc secure connection -- exception
Date Tue, 04 Oct 2016 22:34:13 GMT
Hi Vikram,

See https://issues.apache.org/jira/browse/PHOENIX-1754

This is presently an open issue. You will not be able to use the 
convenience "Kerberos login via URL" when on Windows. You will need to 
manually perform your Kerberos login (via JAAS or Hadoop's 
UserGroupInformation class) and then instantiate the JDBC Connection.

- Josh

vikram.kondadasula@barclays.com wrote:
> Hi,
>
> I am trying to connect to phoenix using jdbc with Kerberos from windows
>
> DriverManager./getConnection/("jdbc:phoenix:xxxx:2181:/hbase:C:\\kbfile\\xyz.keytab:xyz@yyy.com",
> props);
>
> And getting the following exception
>
> Malformed connection url.
> :jdbc:phoenix:xxxx:2181:/hbase:C:\kbfile\xyz.keytab:xyz@yyy.com
>
> The issue is the colon in the windows path , any workarounds for this.
>
> Thanks
>
> Vikram
>
> _______________________________________________
>
> This message is for information purposes only, it is not a
> recommendation, advice, offer or solicitation to buy or sell a product
> or service nor an official confirmation of any transaction. It is
> directed at persons who are professionals and is not intended for retail
> customer use. Intended for recipient only. This message is subject to
> the terms at: www.barclays.com/emaildisclaimer
> <http://www.barclays.com/emaildisclaimer>.
>
> For important disclosures, please see:
> www.barclays.com/salesandtradingdisclaimer
> <http://www.barclays.com/salesandtradingdisclaimer> regarding market
> commentary from Barclays Sales and/or Trading, who are active market
> participants; and in respect of Barclays Research, including disclosures
> relating to specific issuers, please see http://publicresearch.barclays.com.
>
> _______________________________________________
>

Mime
View raw message