Here you can find the source of getPhoenixConnection()
public static Connection getPhoenixConnection() throws Exception
//package com.java2s; import java.sql.Connection; import java.sql.DriverManager; public class Main { private static String zkQuorum = System.getProperty("hbase.zookeeper.quorum"); public static Connection getPhoenixConnection() throws Exception { Class.forName("com.salesforce.phoenix.jdbc.PhoenixDriver"); String connectionURL = "jdbc:phoenix:" + zkQuorum; Connection r = DriverManager.getConnection(connectionURL); r.setAutoCommit(true);/*from w ww.j a v a 2s .co m*/ return r; } }