| Constructor and Description |
|---|
HadoopLogParser(String fname)
Create a new parser object and try to find the hostname
of the node that generated the log
|
| Modifier and Type | Method and Description |
|---|---|
String |
getInfo()
Return a String with information about this class
|
protected Calendar |
parseDate(String strDate,
String strTime)
Parse a date found in the Hadoop log.
|
EventRecord |
parseLine(String line)
Parses one line of the log.
|
checkForRotation, getNext, getReader, monitor, monitor, setNetworkPropertiespublic HadoopLogParser(String fname)
public EventRecord parseLine(String line) throws IOException
parseLine in class LogParserline - the log line to be parsedIOExceptionprotected Calendar parseDate(String strDate, String strTime)
public String getInfo()
Copyright © 2009 The Apache Software Foundation