Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 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?
Hi,

Is there a very basic example on such a KISS interface towards a HBase table?

Thanks

2011/3/1 Michael Segel <[EMAIL PROTECTED]>:
>
> 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: [EMAIL PROTECTED]
>> Date: Mon, 28 Feb 2011 21:06:52 -0800
>> CC: [EMAIL PROTECTED]
>> To: [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/
>>
>

--
Met vriendelijke groeten,

Niels Basjes
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB