I am trying to use various database clients (Squirrel 4.1.0, DBVisualizer Free 12.1.1) to connect to an HBase database, but I get an error:

PhoenixNonRetryableRuntimeException: Could not load/instantiate class org.apache.phoenix.query.DefaultGuidePostsCacheFactory

In the image below, you can see that I've put phoenix-client-hbase-2.4-5.1.2.jar into the extra class path, and in the image below that, you can see that the jar contains DefaultGuidePostsCacheFactory.class.

Why can't Squirrel or DBVisualizer find the class? Another post suggested that Squirrel needs to be restarted after modifying the classpath, but I've done that. Any ideas?

enter image description here

enter image description here

1

There are 1 best solutions below

0
jn0826 On

I'm having the same issue with phoenix-hbase-2.4-5.1.3.

Have you found a solution or root cause?