public class SubtaskExecutionAttemptDetailsHandler extends AbstractSubtaskAttemptRequestHandler
Modifier and Type | Class and Description |
---|---|
static class |
SubtaskExecutionAttemptDetailsHandler.SubtaskExecutionAttemptDetailsJsonArchivist
Archivist for the SubtaskExecutionAttemptDetailsHandler.
|
Modifier and Type | Field and Description |
---|---|
static String |
PARAMETER_SUBTASK_INDEX |
executor
Constructor and Description |
---|
SubtaskExecutionAttemptDetailsHandler(ExecutionGraphCache executionGraphHolder,
Executor executor,
MetricFetcher fetcher) |
Modifier and Type | Method and Description |
---|---|
static String |
createAttemptDetailsJson(AccessExecution execAttempt,
String jobID,
String vertexID,
MetricFetcher fetcher) |
String[] |
getPaths()
Returns an array of REST URL's under which this handler can be registered.
|
CompletableFuture<String> |
handleRequest(AccessExecution execAttempt,
Map<String,String> params) |
handleRequest
handleRequest
handleRequest, parseJobVertexId
handleJsonRequest
handleRequest
public static final String PARAMETER_SUBTASK_INDEX
public SubtaskExecutionAttemptDetailsHandler(ExecutionGraphCache executionGraphHolder, Executor executor, MetricFetcher fetcher)
public String[] getPaths()
RequestHandler
public CompletableFuture<String> handleRequest(AccessExecution execAttempt, Map<String,String> params)
handleRequest
in class AbstractSubtaskAttemptRequestHandler
public static String createAttemptDetailsJson(AccessExecution execAttempt, String jobID, String vertexID, @Nullable MetricFetcher fetcher) throws IOException
IOException
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.