[ https://issues.apache.org/jira/browse/HBASE-7841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13592494#comment-13592494 ]
Matteo Bertozzi commented on HBASE-7841: ---------------------------------------- Why not just using an ExecutorCompletionService with a Callable as we have in other places like: https://github.com/apache/hbase/blob/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HStore.java#L433 > Parallelize offline snapshot in DisabledTableSnapshotHandler > ------------------------------------------------------------ > > Key: HBASE-7841 > URL: https://issues.apache.org/jira/browse/HBASE-7841 > Project: HBase > Issue Type: Sub-task > Reporter: Ted Yu > Attachments: 7841.txt > > > In DisabledTableSnapshotHandler, there is TODO: > {code} > // TODO consider parallelizing these operations since they are independent. > Right now its just > // easier to keep them serial though > @Override > public void snapshotRegions(List<Pair<HRegionInfo, ServerName>> > regionsAndLocations) throws IOException, > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira