aspose 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 Soft Skills this week in the Jobs Discussion 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: 670
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.
 
Gartner says :Bigdata will be most advanced analytics products by 2015 !

Time to Become Big data architect by learning Hadoop(Developer, Administration,Analyst,QA),Cassandra,MongoDb,HBase,Datascience, Mahout, Splunk,R etc) from scratch to expert level

https://intellipaat.com/course-cat/big-data/?utm_source=coderanch%20&utm_medium=text&utm_campaign=coderanchdx1
 
subject: showing hbase data in JSP taking several minutes