Uploaded image for project: 'Apache Tez'
  1. Apache Tez
  2. TEZ-684 Uber/Local modes for Tez
  3. TEZ-1618

LocalTaskSchedulerService.getTotalResources() and getAvailableResources() can get negative if JVM memory is larger than 2GB

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.5.1
    • Component/s: None
    • Labels:
      None

      Description

      Tez job can get failed because of negative headroom value;

      org.apache.tez.dag.app.dag.impl.VertexImpl - Creating 2 for vertex:
      vertex_1411054289802_0001_1_01 [intermediate_reducer]
      56389 InputInitializer [initialmap] #0 INFO
      org.apache.tez.mapreduce.common.MRInputAMSplitGenerator - Input MRInput asking
      for -2 tasks. strong Headroom: -1365 strong Task Resource: 1024 waves: 1.7
      56391 InputInitializer [initialmap] #0 INFO
      org.apache.tez.mapreduce.common.MRInputAMSplitGenerator - Grouping input splits
      56391 InputInitializer [initialmap] #0 INFO
      org.apache.tez.mapreduce.hadoop.MRInputHelpers - Generating mapreduce api input
      splits
      56400 [AsyncDispatcher event handler] INFO
      org.apache.tez.dag.app.dag.impl.VertexImpl - Directly initializing vertex:
      vertex_1411054289802_0001_1_01 [intermediate_reducer]

        Attachments

        1. TEZ-1618.patch
          4 kB
          Chen He
        2. TEZ-1618-2.patch
          4 kB
          Chen He
        3. TEZ-1618-3.patch
          4 kB
          Chen He

          Activity

            People

            • Assignee:
              airbots Chen He
              Reporter:
              airbots Chen He
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: