I am trying to connect an HBase cluster through Phoenix. First, I copied the Phoenix client and request server files to the HMaster and HRegion lib folder and restarted HBase services.
Server
- launched the Phoenix server through /bin/queryserver.py. It is working fine.
Client - AvaticaClientRuntimeException: Remote driver error: RuntimeException: java.sql.SQLException: No suitable driver found for "http://hacluster:8764".
log data
Hbase-site.xml file configuration for high availability cluster
<property> <name>hbase.master</name> <value>activenamenode:60000</value> </property> <property> <name>hbase.rootdir</name> <value>hdfs://hacluster/HBase</value> </property> <property> <name>hbase.cluster.distributed</name> <value>true</value> </property> <property> <name>hbase.zookeeper.quorum</name> <value>zk1,zk2,zk3</value> </property> <property> <name>hbase.rpc.timeout</name> <value>60000</value> <property>
Works on a cluster node. But a crash in the HA-enabled Hadoop cluster.
In the HA cluster, I set the active URL namenode instead of the HA nameservice for the hbase.rootdir property in the hbase-site.xml .
hbase high-availability phoenix
BASS KARAN
source share