SingleLineParserpublic class NativeSingleLineParser extends java.lang.Object implements SingleLineParser
The expected log format is: NormalizedJobName NumInstances SubmitTime StartTime EndTime JobInstanceName memUsage coreUsage
| Constructor | Description |
|---|---|
NativeSingleLineParser() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
parseLine(java.lang.String logLine,
java.util.Map<java.lang.String,JobMetaData> jobMetas,
java.util.Map<RecurrenceId,java.util.List<ResourceSkyline>> skylineRecords) |
Parse one line in the log file, extract the
ResourceSkylines and
store them. |
public void parseLine(java.lang.String logLine,
java.util.Map<java.lang.String,JobMetaData> jobMetas,
java.util.Map<RecurrenceId,java.util.List<ResourceSkyline>> skylineRecords)
throws DataFieldNotFoundException,
java.text.ParseException
SingleLineParserResourceSkylines and
store them.parseLine in interface SingleLineParserlogLine - one line in the log file.jobMetas - the job metadata collected during parsing.skylineRecords - the valid ResourceSkylines extracted from the
log.DataFieldNotFoundException - if certain data fields are not found in
the log.java.text.ParseException - if it fails to convert date string to
unix timestamp successfully.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.