[ 
https://issues.apache.org/jira/browse/HIVE-5910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13835937#comment-13835937
 ] 

Lefty Leverenz commented on HIVE-5910:
--------------------------------------

D'oh!  Thanks for setting me straight.

> 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)

Reply via email to