The newer versions don't include the client in the core, I think.
Otherwise 4.7.0 phoenix-core should contain the driver (but it doesn't
include tephra which it needs)

However, what you should do is exclude or override the logging dependency
in phoenix (don't know how that is done in gradle) or as a last resort
shade the client jar

On 19 April 2018 at 18:38, Lian Jiang <[email protected]> wrote:

> I am using HDP 2.6 hbase and pheonix. I created a play rest service using
> hbase as the backend. However, I have trouble to get a working pheonix
> client.
>
> I tried the pheonix-client.jar given by HDP but its logging dependency
> conflicts with play's. Then I tried:
>
> libraryDependencies += "org.apache.phoenix" % "phoenix-core" %
> "4.13.1-HBase-1.1"
>
> libraryDependencies += "org.apache.phoenix" % "phoenix-server-client" %
> "4.7.0-HBase-1.1"
>
> libraryDependencies += "org.apache.phoenix" % "phoenix-queryserver-client"
> % "4.13.1-HBase-1.1"
>
> None of them worked: "No suitable driver found".
>
> Any idea will be highly appreciated!
>
>

Reply via email to