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

[email protected] 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:[email protected]",
props);

And getting the following exception

Malformed connection url.
:jdbc:phoenix:xxxx:2181:/hbase:C:\kbfile\xyz.keytab:[email protected]

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.

_______________________________________________

Reply via email to