[
https://issues.apache.org/jira/browse/HBASE-19226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16247739#comment-16247739
]
Ted Yu commented on HBASE-19226:
--------------------------------
{code}
+ static final String OUTPUT_REDUCES_RATIO_CONF_KEY =
+ "hbase.mapreduce.hfileoutputformat.reduces.ratio";
{code}
Add javadoc for the purpose of the config key.
{code}
530 double ratio = conf.getDouble(OUTPUT_REDUCES_RATIO_CONF_KEY,
DEFAULT_OUTPUT_REDUCES_RATIO);
{code}
You can log WARN if the ratio is greater than 1.
> Limit the reduce tasks number of incremental load
> -------------------------------------------------
>
> Key: HBASE-19226
> URL: https://issues.apache.org/jira/browse/HBASE-19226
> Project: HBase
> Issue Type: Improvement
> Reporter: Yun Zhao
> Assignee: Yun Zhao
> Priority: Minor
> Attachments: HBASE-19226.master.001.patch
>
>
> When using MapReduce job to perform an incremental load into a table,the
> number of reduce tasks is the current number of regions. If there are too
> many regions, will lead to network+disk I/O is too large, affecting the
> real-time request.
> Need to use a configuration to set a number or ratio?
> Limit running reduce tasks since
> [https://issues.apache.org/jira/browse/MAPREDUCE-5583], the old version can
> only be set reduce number.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)