public class SubtaskExecutionAttemptAccumulatorsHandler extends AbstractSubtaskAttemptRequestHandler
Modifier and Type | Class and Description |
---|---|
static class |
SubtaskExecutionAttemptAccumulatorsHandler.SubtaskExecutionAttemptAccumulatorsJsonArchivist
Archivist for the SubtaskExecutionAttemptAccumulatorsHandler.
|
executor
Constructor and Description |
---|
SubtaskExecutionAttemptAccumulatorsHandler(ExecutionGraphCache executionGraphHolder,
Executor executor) |
Modifier and Type | Method and Description |
---|---|
static String |
createAttemptAccumulatorsJson(AccessExecution execAttempt) |
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 SubtaskExecutionAttemptAccumulatorsHandler(ExecutionGraphCache executionGraphHolder, Executor executor)
public String[] getPaths()
RequestHandler
public CompletableFuture<String> handleRequest(AccessExecution execAttempt, Map<String,String> params)
handleRequest
in class AbstractSubtaskAttemptRequestHandler
public static String createAttemptAccumulatorsJson(AccessExecution execAttempt) throws IOException
IOException
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.