Uploaded image for project: 'Hive'
  1. Hive
  2. 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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.13.0
    • None
    • None

    Description

      In HiveConf.java ...

      MAPREDMINSPLITSIZEPERNODE("mapred.min.split.size.per.rack", 1L),
      MAPREDMINSPLITSIZEPERRACK("mapred.min.split.size.per.node", 1L),
      

      Then, in ExecDriver.java ...

      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());
      }
      

      Attachments

        Issue Links

          Activity

            People

              sushanth Sushanth Sowmyan
              yhuai Yin Huai
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: