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