<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: JDBC Connection to phoenix failed in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/JDBC-Connection-to-phoenix-failed/m-p/232768#M194603</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/38161/arohit91.html" nodeid="38161"&gt;@ROHIT AILA&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you want to connect using Phoenix APIs (phoenix URL&lt;STRONG&gt;"jdbc:phoenix:"&lt;/STRONG&gt;)  then you will have to load Driver Class of type "&lt;/P&gt;&lt;P&gt;"org.apache.phoenix.jdbc.PhoenixDriver"&lt;/P&gt;&lt;PRE&gt;import org.apache.phoenix.jdbc.PhoenixDriver;


Class.forName("org.apache.phoenix.jdbc.PhoenixDriver");
Statement stmt = null;		
ResultSet rset = null;				
Connection con = DriverManager.getConnection("jdbc:phoenix:zk1,zk2,zk3:2181:/hbase-unsecure");&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
    <pubDate>Tue, 22 Aug 2017 23:51:41 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2017-08-22T23:51:41Z</dc:date>
  </channel>
</rss>

