You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Lefty Leverenz (JIRA)" <ji...@apache.org> on 2013/12/01 01:35:35 UTC
[jira] [Commented] (HIVE-5910) In HiveConf, the name of
mapred.min.split.size.per.rack is MAPREDMINSPLITSIZEPERNODE and the name of
mapred.min.split.size.per.node is MAPREDMINSPLITSIZEPERRACK
[ https://issues.apache.org/jira/browse/HIVE-5910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13835916#comment-13835916 ]
Lefty Leverenz commented on HIVE-5910:
--------------------------------------
Nice catch. These two config properties need to be documented in hive-default.xml.template and the wiki: [https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties].
> In HiveConf, the name of mapred.min.split.size.per.rack is MAPREDMINSPLITSIZEPERNODE and the name of mapred.min.split.size.per.node is MAPREDMINSPLITSIZEPERRACK
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: HIVE-5910
> URL: https://issues.apache.org/jira/browse/HIVE-5910
> Project: Hive
> Issue Type: Bug
> Reporter: Yin Huai
>
> In HiveConf.java ...
> {code}
> MAPREDMINSPLITSIZEPERNODE("mapred.min.split.size.per.rack", 1L),
> MAPREDMINSPLITSIZEPERRACK("mapred.min.split.size.per.node", 1L),
> {\code}
> Then, in ExecDriver.java ...
> {code}
> if (mWork.getMinSplitSizePerNode() != null) {
> HiveConf.setLongVar(job, HiveConf.ConfVars.MAPREDMINSPLITSIZEPERNODE, mWork.getMinSplitSizePerNode().longValue());
> }
> if (mWork.getMinSplitSizePerRack() != null) {
> HiveConf.setLongVar(job, HiveConf.ConfVars.MAPREDMINSPLITSIZEPERRACK, mWork.getMinSplitSizePerRack().longValue());
> }
> {\code}
--
This message was sent by Atlassian JIRA
(v6.1#6144)