public class JobTraceReader extends Object
LoggedJob instances.| Constructor and Description |
|---|
JobTraceReader(InputStream input)
Constructor.
|
JobTraceReader(org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration conf)
Constructor.
|
public JobTraceReader(org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.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 © 2008–2020 Apache Software Foundation. All rights reserved.