File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Hadoop and the fly likes showing hbase data in JSP taking several minutes Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » Hadoop
Reply Bookmark "showing hbase data in JSP taking several minutes" Watch "showing hbase data in JSP taking several minutes" New topic
Author

showing hbase data in JSP taking several minutes

Monica. Shiralkar
Ranch Hand

Joined: Jul 07, 2012
Posts: 184
I am accessing HBase data from JSP using Hive queries.Now since Hbase can store huge data like Terabytes of data.If the data is in so much the hive query (which converts into map reduce tasks) will take several minutes of time.So will the JSP page wait say 10 minutes to display the data.What should be the strategy.Is this the correct approach.If not so what is the best approach to show huge hbase data on JSP.

thanks.
Srinivas Mupparapu
Greenhorn

Joined: Feb 12, 2004
Posts: 14

You need inspect your use case care fully. Showing a large amounts of data in a JSP is not necessarily a good practice. There is no surprise that it does take long time to process terrabytes of data. One thing you may want to do is run your process in a batch mode (example: nightly or few times in a day) and have the result stored in HDFS. Have your JSP read the readily available result from HDF and display it on demand.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: showing hbase data in JSP taking several minutes
 
Similar Threads
Questions on Programming Pig
Hadoop: confusion between Hive tables and HBase tables..
Does Hadoop use means removing the use of DB like sql,oracle? and using hbase
WA #1.....word association
Scrabble... it only takes a minute...