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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » Hadoop
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: 594
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.
 
Consider Paul's rocket mass heater.
 
subject: showing hbase data in JSP taking several minutes
 
Similar Threads
Hadoop: confusion between Hive tables and HBase tables..
WA #1.....word association
Does Hadoop use means removing the use of DB like sql,oracle? and using hbase
Scrabble... it only takes a minute...
Questions on Programming Pig