public class GenericDiagnosticsCollector extends Object implements DiagnosticsCollector
| Modifier and Type | Field and Description | 
|---|---|
| static String | PARTITION_DIAGNOSTICS_PREFIX | 
| static String | PLACEMENT_CONSTRAINT_DIAGNOSTICS_PREFIX | 
| static String | RESOURCE_DIAGNOSTICS_PREFIX | 
| Constructor and Description | 
|---|
| GenericDiagnosticsCollector() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | collect(String diagnosticsInfo,
       String detailsInfo) | 
| void | collectPartitionDiagnostics(String requiredPartition,
                           String nodePartition) | 
| void | collectPlacementConstraintDiagnostics(org.apache.hadoop.yarn.api.resource.PlacementConstraint pc,
                                     org.apache.hadoop.yarn.api.resource.PlacementConstraint.TargetExpression.TargetType targetType) | 
| 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) | 
| String | getDetails() | 
| String | getDiagnostics() | 
public static final String RESOURCE_DIAGNOSTICS_PREFIX
public static final String PLACEMENT_CONSTRAINT_DIAGNOSTICS_PREFIX
public static final String PARTITION_DIAGNOSTICS_PREFIX
public void collect(String diagnosticsInfo, String detailsInfo)
collect in interface DiagnosticsCollectorpublic String getDiagnostics()
getDiagnostics in interface DiagnosticsCollectorpublic String getDetails()
getDetails in interface DiagnosticsCollectorpublic 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)
collectResourceDiagnostics in interface DiagnosticsCollectorpublic void collectPlacementConstraintDiagnostics(org.apache.hadoop.yarn.api.resource.PlacementConstraint pc,
                                                  org.apache.hadoop.yarn.api.resource.PlacementConstraint.TargetExpression.TargetType targetType)
collectPlacementConstraintDiagnostics in interface DiagnosticsCollectorpublic void collectPartitionDiagnostics(String requiredPartition, String nodePartition)
collectPartitionDiagnostics in interface DiagnosticsCollectorCopyright © 2008–2023 Apache Software Foundation. All rights reserved.