|
|
-
Re: show pig results in html pageRussell Jurney 2012-10-20, 02:45
This should help you. It is sort of what you ask? You can use JRuby
and Sinatra to do what you want. http://hortonworks.com/blog/pig-as-hadoop-connector-part-two-hbase-jruby-and-sinatra/ Otherwise, you want HCatalog and Templeton: they provide REST APIs. But I don't know the easiest way to do that at the moment. Russell Jurney http://datasyndrome.com On Oct 19, 2012, at 5:45 PM, Zahra Hajihashemi <[EMAIL PROTECTED]> wrote: > Hi, all >> I'm new to pig and not sure if it is a right place to ask this question! >> But, I'm trying to scan my hbase table and show the results in my html >> page. I don't know how it should be?! >> I could think of dumping the results into a text file and then read the >> file and show in the html page. But is there any other way around? >> >> Thanks for your help. >> >> -Zara >> |