Interface OnlyExecutionGraphJsonArchivist
- All Superinterfaces:
JsonArchivist
- All Known Implementing Classes:
CheckpointConfigHandler,CheckpointingStatisticsHandler,CheckpointStatisticDetailsHandler,JobAccumulatorsHandler,JobConfigHandler,JobDetailsHandler,JobPlanHandler,JobsOverviewHandler,JobVertexDetailsHandler,JobVertexTaskManagersHandler,SubtaskExecutionAttemptAccumulatorsHandler,SubtaskExecutionAttemptDetailsHandler,SubtasksTimesHandler,TaskCheckpointStatisticDetailsHandler
Interface for all classes that want to participate in the archiving of job-related json responses
but only provide
AccessExecutionGraph-related information.-
Method Summary
Modifier and TypeMethodDescriptionReturns aCollectionofArchivedJsons containing JSON responses and their respective REST URL for a given job.default Collection<ArchivedJson>archiveJsonWithPath(ExecutionGraphInfo executionGraphInfo) Returns aCollectionofArchivedJsons containing JSON responses and their respective REST URL for a given job.
-
Method Details
-
archiveJsonWithPath
Returns aCollectionofArchivedJsons containing JSON responses and their respective REST URL for a given job.The collection should contain one entry for every response that could be generated for the given job, for example one entry for each task. The REST URLs should be unique and must not contain placeholders.
- Parameters:
graph- AccessExecutionGraph for which the responses should be generated- Returns:
- Collection containing an ArchivedJson for every response that could be generated for the given job
- Throws:
IOException- thrown if the JSON generation fails
-
archiveJsonWithPath
default Collection<ArchivedJson> archiveJsonWithPath(ExecutionGraphInfo executionGraphInfo) throws IOException Description copied from interface:JsonArchivistReturns aCollectionofArchivedJsons containing JSON responses and their respective REST URL for a given job.The collection should contain one entry for every response that could be generated for the given job, for example one entry for each task. The REST URLs should be unique and must not contain placeholders.
- Specified by:
archiveJsonWithPathin interfaceJsonArchivist- Parameters:
executionGraphInfo-AccessExecutionGraph-related information for which the responses should be generated- Returns:
- Collection containing an ArchivedJson for every response that could be generated for the given job
- Throws:
IOException- thrown if the JSON generation fails
-