You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Kay Kay (JIRA)" <ji...@apache.org> on 2010/03/09 04:55:27 UTC
[jira] Updated: (HBASE-2302) Optimize M-R by bulk excluding regions
- less InputSplit-s to avoid traffic on region servers when performing M-R
on a subset of the schema
[ https://issues.apache.org/jira/browse/HBASE-2302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kay Kay updated HBASE-2302:
---------------------------
Attachment: HBASE-2302.patch
* add a method TableInputFormatBase.java#getPrunedKeys , where the user can prune the list of keys on which M-R needs to be applied to reduce the number of InputSplit .
Very non-intrusive, but probably not the most API friendly.
TODO: unit tests as necessary
> Optimize M-R by bulk excluding regions - less InputSplit-s to avoid traffic on region servers when performing M-R on a subset of the schema
> --------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: HBASE-2302
> URL: https://issues.apache.org/jira/browse/HBASE-2302
> Project: Hadoop HBase
> Issue Type: Improvement
> Reporter: Kay Kay
> Attachments: HBASE-2302.patch
>
>
> TableInputFormatBase , creates a InputSplit per region. Given that the keys are sorted - sometimes - it might be needed to perform M-R on a subset of the keyset ( regions ) . Adding a provision to filter the regions when generating InputSplits might be useful .
> The granularity of exclusion is per-region-wise. A RowFilter might still be needed during a Scan on a separate region, but that is a separate issue altogether.
> Methodology: Add a way to prune the keyset before generating inputsplits , by default - all sets are returned indicating all regions are included that could be overridden as necessary, depending on the higher-level logic.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.