Class GenericDiagnosticsCollector
java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.scheduler.activities.GenericDiagnosticsCollector
- All Implemented Interfaces:
DiagnosticsCollector
Generic interface that can be used for collecting diagnostics.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidcollectPartitionDiagnostics(String requiredPartition, String nodePartition) voidcollectPlacementConstraintDiagnostics(org.apache.hadoop.yarn.api.resource.PlacementConstraint pc, org.apache.hadoop.yarn.api.resource.PlacementConstraint.TargetExpression.TargetType targetType) voidcollectResourceDiagnostics(org.apache.hadoop.yarn.util.resource.ResourceCalculator rc, org.apache.hadoop.yarn.api.records.Resource required, org.apache.hadoop.yarn.api.records.Resource available)
-
Field Details
-
RESOURCE_DIAGNOSTICS_PREFIX
- See Also:
-
PLACEMENT_CONSTRAINT_DIAGNOSTICS_PREFIX
- See Also:
-
PARTITION_DIAGNOSTICS_PREFIX
- See Also:
-
-
Constructor Details
-
GenericDiagnosticsCollector
public GenericDiagnosticsCollector()
-
-
Method Details
-
collect
- Specified by:
collectin interfaceDiagnosticsCollector
-
getDiagnostics
- Specified by:
getDiagnosticsin interfaceDiagnosticsCollector
-
getDetails
- Specified by:
getDetailsin interfaceDiagnosticsCollector
-
collectResourceDiagnostics
public void collectResourceDiagnostics(org.apache.hadoop.yarn.util.resource.ResourceCalculator rc, org.apache.hadoop.yarn.api.records.Resource required, org.apache.hadoop.yarn.api.records.Resource available) - Specified by:
collectResourceDiagnosticsin interfaceDiagnosticsCollector
-
collectPlacementConstraintDiagnostics
public void collectPlacementConstraintDiagnostics(org.apache.hadoop.yarn.api.resource.PlacementConstraint pc, org.apache.hadoop.yarn.api.resource.PlacementConstraint.TargetExpression.TargetType targetType) - Specified by:
collectPlacementConstraintDiagnosticsin interfaceDiagnosticsCollector
-
collectPartitionDiagnostics
- Specified by:
collectPartitionDiagnosticsin interfaceDiagnosticsCollector
-