public class SubtaskExecutionAttemptAccumulatorsHandler extends AbstractSubtaskAttemptRequestHandler
Modifier and Type | Class and Description |
---|---|
static class |
SubtaskExecutionAttemptAccumulatorsHandler.SubtaskExecutionAttemptAccumulatorsJsonArchivist |
Constructor and Description |
---|
SubtaskExecutionAttemptAccumulatorsHandler(ExecutionGraphHolder executionGraphHolder) |
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.
|
String |
handleRequest(AccessExecution execAttempt,
Map<String,String> params) |
handleRequest
handleRequest
handleRequest, parseJobVertexId
handleJsonRequest
handleRequest
public SubtaskExecutionAttemptAccumulatorsHandler(ExecutionGraphHolder executionGraphHolder)
public String[] getPaths()
RequestHandler
public String handleRequest(AccessExecution execAttempt, Map<String,String> params) throws Exception
handleRequest
in class AbstractSubtaskAttemptRequestHandler
Exception
public static String createAttemptAccumulatorsJson(AccessExecution execAttempt) throws IOException
IOException
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.