Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-12318

MapReduce containers ignore the non-heap memory ratio configured in cdap-site.xml

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.3.0, 4.2.0, 4.1.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Rank:
      1|i0067z:

      Description

      Instead they hardcode the ratio to 80% for the heap, in MapRediceRuntimeService.TaskType.setResources():

            // Also set the Xmx to be smaller than the container memory.
            conf.set(javaOptsKey, "-Xmx" + (int) (resources.getMemoryMB() * 0.8) + "m");
      

        Attachments

          Activity

            People

            • Assignee:
              bhooshan Bhooshan Mogal
              Reporter:
              andreas Andreas Neumann
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: