hello group , when I try to connect to hbase using
*phoenix-4.8.1-HBase-1.2-client.jar
*in my web application on tomcat* , *I see the jar is getting rejected
because of javax/servlet/Servlet.class package being present in the jar, is
there an other jar to use ?.Please advice.
INFO:
validateJarFil
Hi Pradeep,
No, this is one you will likely have to work around on your own by
building a custom Phoenix client jar that does not include the
javax-servlet classes. They are getting transitively pulled into Phoenix
via Hadoop (IIRC). If your web application already has the classes
present, yo
thanks josh looking into it.
On Wed, Nov 23, 2016 at 1:48 PM, Josh Elser wrote:
> Hi Pradeep,
>
> No, this is one you will likely have to work around on your own by
> building a custom Phoenix client jar that does not include the
> javax-servlet classes. They are getting transitively pulled into
finally success, just exclude the offending classes, mine were, so yours
would be too, if you are trying to connect jdbc driver from a web
server.Please exclude the classes below from the pom file in phoenix-client
folder.
org.apache.phoenix:phoenix-client
x
Great, glad you got it working.
pradeep arumalla wrote:
finally success, just exclude the offending classes, mine were, so yours
would be too, if you are trying to connect jdbc driver from a web
server.Please exclude the classes below from the pom file in
phoenix-client folder.
org.apache.pho