@InterfaceAudience.Private public class Utils extends Object
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
generateDAGVizFile(DAG dag,
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,
ServicePluginError servicePluginError,
String diagnostics,
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, ServicePluginError servicePluginError, String diagnostics, DagInfo dagInfo, AppContext appContext, String componentName)
public static void generateDAGVizFile(DAG dag, 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 © 2021 Apache Software Foundation. All rights reserved.