Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # user >> How to make a CGI with HBase?


Copy link to this message
-
Re: How to make a CGI with HBase?
Wow thanks for the tip. I could definitely use that.
Just like you said, I am trying to do one at a time :)
Thanks Lance.

2011년 3월 1일 오후 2:06, Lance Norskog <[EMAIL PROTECTED]>님의 말:

> 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" <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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/
>
>