Interface DiagnosticsCollector
- All Known Implementing Classes:
GenericDiagnosticsCollector
public interface DiagnosticsCollector
Generic interface that can be used for collecting diagnostics.
-
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)
-
Method Details
-
collect
-
getDiagnostics
String getDiagnostics() -
getDetails
String getDetails() -
collectResourceDiagnostics
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) -
collectPlacementConstraintDiagnostics
void collectPlacementConstraintDiagnostics(org.apache.hadoop.yarn.api.resource.PlacementConstraint pc, org.apache.hadoop.yarn.api.resource.PlacementConstraint.TargetExpression.TargetType targetType) -
collectPartitionDiagnostics
-