I'd say skip trying to shoe horn JDBC interface on HBase, and just write 
straight to it.
Remember K.I.S.S.

-Mike


> Subject: Re: How to make a CGI with HBase?
> From: goks...@gmail.com
> Date: Mon, 28 Feb 2011 21:06:52 -0800
> CC: goks...@gmail.com
> To: common-user@hadoop.apache.org
> 
> Java servlets for web development with databases is a learning curve.  HBase 
> is a learning curve. You might want to learn one at a time :)  If you code 
> the site in Java/JSPs, you want a JDBC driver for HBase. You can code calls 
> to HBase directly in a JSP without writing Java.
> 
> Lance
> 
> 
> On Feb 28, 2011, at 6:19 PM, edward choi wrote:
> 
> > Thanks for the reply. 
> > Didn't know that Thrift was for such purpose. 
> > Servlet and JSP is totally new to me. I skimmed through the concept on the 
> > internet and they look fascinating. 
> > I think I am gonna give servlet and JSP a try. 
> > 
> > On 2011. 3. 1., at 오전 12:51, "Usman Waheed" <usm...@opera.com> wrote:
> >> HI,
> >> 
> >> I have been using the Thrift Perl API to connect to Hbase for my web app. 
> >> At the moment i only perform random reads and scans based on date ranges 
> >> and some other search criteria.
> >> It works and I am still testing performance.
> >> 
> >> -Usman
> >> 
> >>> On Mon, Feb 28, 2011 at 2:37 PM, edward choi <mp2...@gmail.com> wrote:
> >>>> Hi,
> >>>> 
> >>>> I am planning to make a search engine for news articles. It will probably
> >>>> have over several billions of news articles so I thought HBase is the 
> >>>> way to
> >>>> go.
> >>>> 
> >>>> However, I am very new to CGI. All I know is that you use php, python or
> >>>> java script with HTML to make a web site and communicate with the backend
> >>>> database such as MySQL.
> >>>> 
> >>>> But I am going to use HBase, not MySQL, and I can't seem to find a script
> >>>> language that provides any form of API to communicate with HBase.
> >>>> 
> >>>> So what do I do?
> >>>> 
> >>>> Do I have to make a web site with pure Java? Is that even possible?
> >>> 
> >>> It is possible, if you know things like JSP, Java servelets etc.
> >>> 
> >>> For people comfortable with PHP or Python, I think Apache Thrift
> >>> (http://wiki.apache.org/thrift/) is an alternative.
> >>> 
> >>> -b
> >>> 
> >>>> 
> >>>> Or is using Hbase as the backend Database a bad idea in the first place?
> >>>> 
> >> 
> >> 
> >> -- 
> >> Using Opera's revolutionary email client: http://www.opera.com/mail/
> 
                                          

Reply via email to