Any idea? phoenix-client.jar has multiple conflict with play, for example logback v.s. log4j, guava 13 v.s. guava 22, etc.
I don't see a way to handle this case and the ways I considered are: 1. shade phoenix-client.jar. I only see how to shade jars that available in maven repository and did not see a way to shade a jar file. 2. change the code in https://github.com/apache/phoenix/tree/master/phoenix-client. It is possible but looks like a lot of work to do. 3. consider OSGI but playframework does not support it. Any clue is highly appreciated! On Thu, Apr 19, 2018 at 10:56 AM, 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! >
