ApiYarnUtilization Data Model

Utilization report information of a Yarn application service.

Properties
name data type description
avgCpuUtilization number Average number of VCores used by YARN applications during the report window.
maxCpuUtilization number Maximum number of VCores used by YARN applications during the report window.
avgCpuDailyPeak number Average daily peak VCores used by YARN applications during the report window. The number is computed by first finding the maximum resource consumption per day and then taking their mean.
maxCpuUtilizationTimestampMs number Timestamp corresponds to maximum number of VCores used by YARN applications during the report window.
avgCpuUtilizationPercentage number Average percentage of VCores used by YARN applications during the report window.
maxCpuUtilizationPercentage number Maximum percentage of VCores used by YARN applications during the report window.
avgCpuDailyPeakPercentage number Average daily peak percentage of VCores used by YARN applications during the report window.
avgMemoryUtilization number Average memory used by YARN applications during the report window.
maxMemoryUtilization number Maximum memory used by YARN applications during the report window.
avgMemoryDailyPeak number Average daily peak memory used by YARN applications during the report window. The number is computed by first finding the maximum resource consumption per day and then taking their mean.
maxMemoryUtilizationTimestampMs number Timestamp corresponds to maximum memory used by YARN applications during the report window.
avgMemoryUtilizationPercentage number Average percentage memory used by YARN applications during the report window.
maxMemoryUtilizationPercentage number Maximum percentage of memory used by YARN applications during the report window.
avgMemoryDailyPeakPercentage number Average daily peak percentage of memory used by YARN applications during the report window.
tenantUtilizations ApiYarnTenantUtilizationList A list of tenant utilization reports.
errorMessage string error message of utilization report.

Example

{
  "avgCpuUtilization" : 12345.0,
  "maxCpuUtilization" : 12345.0,
  "avgCpuDailyPeak" : 12345.0,
  "maxCpuUtilizationTimestampMs" : 12345,
  "avgCpuUtilizationPercentage" : 12345.0,
  "maxCpuUtilizationPercentage" : 12345.0,
  "avgCpuDailyPeakPercentage" : 12345.0,
  "avgMemoryUtilization" : 12345.0,
  "maxMemoryUtilization" : 12345.0,
  "avgMemoryDailyPeak" : 12345.0,
  "maxMemoryUtilizationTimestampMs" : 12345,
  "avgMemoryUtilizationPercentage" : 12345.0,
  "maxMemoryUtilizationPercentage" : 12345.0,
  "avgMemoryDailyPeakPercentage" : 12345.0,
  "tenantUtilizations" : {
    "items" : [ {
      "tenantName" : "...",
      "avgYarnCpuAllocation" : 12345.0,
      "avgYarnCpuUtilization" : 12345.0,
      "avgYarnCpuUnusedCapacity" : 12345.0,
      "avgYarnCpuSteadyFairShare" : 12345.0,
      "avgYarnPoolAllocatedCpuDuringContention" : 12345.0,
      "avgYarnPoolFairShareCpuDuringContention" : 12345.0,
      "avgYarnPoolSteadyFairShareCpuDuringContention" : 12345.0,
      "avgYarnContainerWaitRatio" : 12345.0,
      "avgYarnMemoryAllocation" : 12345.0,
      "avgYarnMemoryUtilization" : 12345.0,
      "avgYarnMemoryUnusedCapacity" : 12345.0,
      "avgYarnMemorySteadyFairShare" : 12345.0,
      "avgYarnPoolAllocatedMemoryDuringContention" : 12345.0,
      "avgYarnPoolFairShareMemoryDuringContention" : 12345.0,
      "avgYarnPoolSteadyFairShareMemoryDuringContention" : 12345.0
    }, {
      "tenantName" : "...",
      "avgYarnCpuAllocation" : 12345.0,
      "avgYarnCpuUtilization" : 12345.0,
      "avgYarnCpuUnusedCapacity" : 12345.0,
      "avgYarnCpuSteadyFairShare" : 12345.0,
      "avgYarnPoolAllocatedCpuDuringContention" : 12345.0,
      "avgYarnPoolFairShareCpuDuringContention" : 12345.0,
      "avgYarnPoolSteadyFairShareCpuDuringContention" : 12345.0,
      "avgYarnContainerWaitRatio" : 12345.0,
      "avgYarnMemoryAllocation" : 12345.0,
      "avgYarnMemoryUtilization" : 12345.0,
      "avgYarnMemoryUnusedCapacity" : 12345.0,
      "avgYarnMemorySteadyFairShare" : 12345.0,
      "avgYarnPoolAllocatedMemoryDuringContention" : 12345.0,
      "avgYarnPoolFairShareMemoryDuringContention" : 12345.0,
      "avgYarnPoolSteadyFairShareMemoryDuringContention" : 12345.0
    } ]
  },
  "errorMessage" : "..."
}