public class JobTraceReader extends Object
LoggedJob instances.| Constructor and Description |
|---|
JobTraceReader(InputStream input)
Constructor.
|
JobTraceReader(Path path,
Configuration conf)
Constructor.
|
public JobTraceReader(Path path, Configuration conf) throws IOException
path - Path to the JSON trace file, possibly compressed.conf - IOExceptionpublic JobTraceReader(InputStream input) throws IOException
input - The input stream for the JSON trace.IOExceptionpublic T getNext() throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2018 CERN. All Rights Reserved.