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) |
handleRequesthandleRequesthandleRequest, parseJobVertexIdhandleJsonRequesthandleRequestpublic SubtaskExecutionAttemptAccumulatorsHandler(ExecutionGraphCache executionGraphHolder, Executor executor)
public String[] getPaths()
RequestHandlerpublic CompletableFuture<String> handleRequest(AccessExecution execAttempt, Map<String,String> params)
handleRequest in class AbstractSubtaskAttemptRequestHandlerpublic static String createAttemptAccumulatorsJson(AccessExecution execAttempt) throws IOException
IOExceptionCopyright © 2014–2018 The Apache Software Foundation. All rights reserved.