[ https://issues.apache.org/jira/browse/HBASE-5166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13201439#comment-13201439 ]
Zhihong Yu commented on HBASE-5166: ----------------------------------- MultithreadedTableMapper misses Apache license {code} + while(!executor.isTerminated()){ + // wait till all the threads are done + } {code} We should put sleep() in the above loop and possibly limit the total duration of wait. A new unit test should be added for MultithreadedTableMapper. Please look at tests that use TableMapper. > MultiThreaded Table Mapper analogous to MultiThreaded Mapper in hadoop > ---------------------------------------------------------------------- > > Key: HBASE-5166 > URL: https://issues.apache.org/jira/browse/HBASE-5166 > Project: HBase > Issue Type: Improvement > Reporter: Jai Kumar Singh > Priority: Minor > Labels: multithreaded, tablemapper > Attachments: 0001-Added-MultithreadedTableMapper-HBASE-5166.patch, > 0003-Added-MultithreadedTableMapper-HBASE-5166.patch > > Original Estimate: 0.5h > Remaining Estimate: 0.5h > > There is no MultiThreadedTableMapper in hbase currently just like we have a > MultiThreadedMapper in Hadoop for IO Bound Jobs. > UseCase, webcrawler: take input (urls) from a hbase table and put the content > (urls, content) back into hbase. > Running these kind of hbase mapreduce job with normal table mapper is quite > slow as we are not utilizing CPU fully (N/W IO Bound). > Moreover, I want to know whether It would be a good/bad idea to use HBase for > these kind of usecases ?. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira