[
https://issues.apache.org/jira/browse/HBASE-12223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14250107#comment-14250107
]
Ted Yu commented on HBASE-12223:
--------------------------------
{code}
+ TableName tableName = TableName.valueOf(Bytes.toBytes(tableNameStr));
{code}
Why not let tableMaps be keyed by TableName ?
{code}
regionLocator = conn.getRegionLocator(tableName);
regionLocator = (RegionLocator) table;
{code}
The first assignment above can be removed.
> MultiTableInputFormatBase.getSplits is too slow
> -----------------------------------------------
>
> Key: HBASE-12223
> URL: https://issues.apache.org/jira/browse/HBASE-12223
> Project: HBase
> Issue Type: Improvement
> Components: Client
> Affects Versions: 0.94.15
> Reporter: shanwen
> Assignee: YuanBo Peng
> Priority: Minor
> Fix For: 1.0.0, 2.0.0, 0.98.10, 0.94.27
>
> Attachments: HBASE-12223-v1.patch, HBASE-12223-v2.patch,
> HBASE-12223.patch
>
>
> when use Multiple scan,getSplits is too slow,800 scans take five minutes
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)