public class SubtaskCurrentAttemptDetailsHandler extends SubtaskExecutionAttemptDetailsHandler
SubtaskExecutionAttemptDetailsHandler.SubtaskExecutionAttemptDetailsJsonArchivist
Modifier and Type | Field and Description |
---|---|
static String |
SUBTASK_CURRENT_ATTEMPT_DETAILS_REST_PATH |
Constructor and Description |
---|
SubtaskCurrentAttemptDetailsHandler(ExecutionGraphHolder executionGraphHolder,
MetricFetcher fetcher) |
Modifier and Type | Method and Description |
---|---|
String[] |
getPaths()
Returns an array of REST URL's under which this handler can be registered.
|
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(ExecutionGraphHolder executionGraphHolder, MetricFetcher fetcher)
public String[] getPaths()
RequestHandler
getPaths
in interface RequestHandler
getPaths
in class SubtaskExecutionAttemptDetailsHandler
public String handleRequest(AccessExecutionVertex vertex, Map<String,String> params) throws Exception
handleRequest
in class AbstractSubtaskAttemptRequestHandler
Exception
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.