Re: Failure connecting to Hbase remotely from Tomcat 6 Servlet

2015-02-04 Thread Ted Yu
Please use same email thread for one question. See reply on your other thread. Cheers On Tue, Feb 3, 2015 at 11:05 PM, Sunanda Reddy wrote: > Sir/madam, > > > > I am unable to find hbase jdbc driver.I need a java servlet program to > connect to hbase so that i need to insert data into hbase fr

Failure connecting to Hbase remotely from Tomcat 6 Servlet

2015-02-04 Thread Sunanda Reddy
Sir/madam, I am unable to find hbase jdbc driver.I need a java servlet program to connect to hbase so that i need to insert data into hbase from my login page. Regards, Sunanda --- This email has been checked for viruses by Avast antivirus software. http://www.avast.com

Re: connecting to hbase remotely

2014-03-09 Thread Ted Yu
HTablePool has been deprecated: * @deprecated Use {@link HConnection#getTable(String)} instead. */ @InterfaceAudience.Private public class HTablePool implements Closeable { Work is in progress to remove it - see HBASE-9117 On Sun, Mar 9, 2014 at 6:29 AM, Vijayakumar Ramdoss wrote: > > Pleas

Re: connecting to hbase remotely

2014-03-09 Thread Vijayakumar Ramdoss
Please You should probably build something around the HTablePool that comes with HBase. http://stackoverflow.com/questions/17661217/hbase-connection-pool-in-tomcat Thanks Vijay Ram Sent from my iPad > On Mar 7, 2014, at 1:40 AM, "yeshwanth kumar" wrote: > > thanks Jean and Ted, > > issue wa

Re: connecting to hbase remotely

2014-03-06 Thread yeshwanth kumar
thanks Jean and Ted, issue was resolved, i was using multiple configurations for two different tables, for one table i specified config property but for another i missed it, that caused the issue. in my application i made Rest service on hbase data, for every call i am creating a connection to h

Re: connecting to hbase remotely

2014-03-06 Thread Ted Yu
Looks like you were serving requests using web server. Is hbase-site.xml in the classpath ? Thanks On Thu, Mar 6, 2014 at 3:05 AM, yeshwanth kumar wrote: > Hi i am using HBase 0.94.6-cdh4.5.0 > > i conected to hbase by setting config explicitly in my code through > config.set zookeeper quorum

Re: connecting to hbase remotely

2014-03-06 Thread Jean-Marc Spaggiari
Can you share a sample of you code to see where it can come from? 2014-03-06 6:05 GMT-05:00 yeshwanth kumar : > Hi i am using HBase 0.94.6-cdh4.5.0 > > i conected to hbase by setting config explicitly in my code through > config.set zookeeper quorum property. > > i am able to read the hbase tabl

connecting to hbase remotely

2014-03-06 Thread yeshwanth kumar
Hi i am using HBase 0.94.6-cdh4.5.0 i conected to hbase by setting config explicitly in my code through config.set zookeeper quorum property. i am able to read the hbase table data properly,it is connecting to the host specified in config log: " Creating new Groups object Group mapping impl=org.

Re: Failure connecting to Hbase remotely from Tomcat 6 Servlet

2012-10-01 Thread Mouradk
Hi, Thanks for you reply. I am trying to connect to Hbase running on a remote ec2 instance from a web app in tomcat running in a different ec2 instance. My Hbase handler lives in a jar of a another project (foundation) in it's src folder. While debugging, the HBaseConfiguration picks up the pr

Re: Failure connecting to Hbase remotely from Tomcat 6 Servlet

2012-10-01 Thread Jean-Marc Spaggiari
Same here. Working with Tomcat and HBase with no issue. Have you tried to connect to HBase from the server with a standalone application? JM 2012/10/1, mlanciau : > Hello Mouradk, > > I use tomcat + HBase and I have no problem. (And it's really cool !) > I do not change any tomcat policy, just