Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-14431 Update TaskManager's memory information to match its memory composition
  3. FLINK-14435

Add TaskManageResourceInfo which match the memory compositions of taskmanager

    XMLWordPrintableJSON

Details

    Description

      • information from TaskExecutorResourceSpec in flip-49, add it to TaskExecutorRegistration.
      public class TaskManagerResourceInfo {
          private final double cpuCores;
          private final long frameworkHeap;
          private final long frameworkOffHeap;
          private final long taskHeap;
          private final long taskOffHeap;
          private final long shuffleMemory;
          private final long managedMemory;
          private final long jvmMetaSpace;
          private final long jvmOverhead;
          private final long totalProcessMemory;
      }
      • url: /taskmanagers/:taskmanagerid
      • response: add
      resource: {
        cpuCores: 4,
        frameworkHeap: 134217728,
        frameworkOffHeap: 134217728,
        taskHeap: 181193928,
        taskOffHeap: 0,
        shuffleMemory: 33554432,
        managedMemory: 322122552,
        jvmMetaSpace: 134217728,
        jvmOverhead: 134217728,
        totalProcessMemory: 1073741824
      }
      

      Attachments

        Issue Links

          Activity

            People

              mapohl Matthias Pohl
              lining lining
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: