public interface JsonArchivist
Note that all JsonArchivists that are to be used for the history server must be added
Collection<ArchivedJson> archiveJsonWithPath(AccessExecutionGraph graph) throws IOException
ArchivedJsons 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.
graph- AccessExecutionGraph for which the responses should be generated
IOException- thrown if the JSON generation fails
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.