|
edward choi
2011-02-28, 13:37
Bibek Paudel
2011-02-28, 15:42
Usman Waheed
2011-02-28, 15:51
Edward Choi
2011-03-01, 02:19
Lance Norskog
2011-03-01, 05:06
edward choi
2011-03-01, 09:26
Michael Segel
2011-03-01, 12:37
Niels Basjes
2011-03-01, 20:29
|
-
How to make a CGI with HBase?edward choi 2011-02-28, 13:37
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? Or is using Hbase as the backend Database a bad idea in the first place?
-
Re: How to make a CGI with HBase?Bibek Paudel 2011-02-28, 15:42
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? >
-
Re: How to make a CGI with HBase?Usman Waheed 2011-02-28, 15:51
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/
-
Re: How to make a CGI with HBase?Edward Choi 2011-03-01, 02:19
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/
-
Re: How to make a CGI with HBase?Lance Norskog 2011-03-01, 05:06
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/
-
Re: How to make a CGI with HBase?edward choi 2011-03-01, 09:26
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/ > >
-
RE: How to make a CGI with HBase?Michael Segel 2011-03-01, 12:37
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/ >
-
Re: How to make a CGI with HBase?Niels Basjes 2011-03-01, 20:29
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 |