@InterfaceAudience.Private public class Utils extends Object
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
generateDAGVizFile(DAG dag,
org.apache.tez.dag.api.records.DAGProtos.DAGPlan dagPB,
DAGScheduler scheduler)
Generate a visualization file.
|
static void |
generateDAGVizFile(DAG dag,
org.apache.tez.dag.api.records.DAGProtos.DAGPlan dagPB,
String[] logDirs,
DAGScheduler scheduler)
Generate a visualization file.
|
static String |
getContainerLauncherIdentifierString(int launcherIndex,
AppContext appContext) |
static String |
getTaskCommIdentifierString(int taskCommIndex,
AppContext appContext) |
static String |
getTaskSchedulerIdentifierString(int schedulerIndex,
AppContext appContext) |
static void |
processNonFatalServiceErrorReport(String entityString,
org.apache.tez.serviceplugins.api.ServicePluginError servicePluginError,
String diagnostics,
org.apache.tez.serviceplugins.api.DagInfo dagInfo,
AppContext appContext,
String componentName) |
public static String getContainerLauncherIdentifierString(int launcherIndex, AppContext appContext)
public static String getTaskCommIdentifierString(int taskCommIndex, AppContext appContext)
public static String getTaskSchedulerIdentifierString(int schedulerIndex, AppContext appContext)
public static void processNonFatalServiceErrorReport(String entityString, org.apache.tez.serviceplugins.api.ServicePluginError servicePluginError, String diagnostics, org.apache.tez.serviceplugins.api.DagInfo dagInfo, AppContext appContext, String componentName)
public static void generateDAGVizFile(DAG dag, org.apache.tez.dag.api.records.DAGProtos.DAGPlan dagPB, @Nullable DAGScheduler scheduler)
dag - DAG.dagPB - DAG plan.scheduler - scheduler that provide the priorities of the vertexes.public static void generateDAGVizFile(DAG dag, org.apache.tez.dag.api.records.DAGProtos.DAGPlan dagPB, String[] logDirs, @Nullable DAGScheduler scheduler)
dag - DAG.dagPB - DAG plan.logDirs - directories where the file will be written.scheduler - scheduler that will provide the priorities
of the vertexes.Copyright © 2020 Apache Software Foundation. All rights reserved.