You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Yin Huai (JIRA)" <ji...@apache.org> on 2013/11/30 16:20:35 UTC

[jira] [Created] (MAPREDUCE-5659) 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

Yin Huai created MAPREDUCE-5659:
-----------------------------------

             Summary: 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: MAPREDUCE-5659
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5659
             Project: Hadoop Map/Reduce
          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)