Package | Description |
---|---|
org.apache.hadoop.contrib.failmon |
Modifier and Type | Method and Description |
---|---|
EventRecord |
LogParser.getNext()
Continue parsing the log file until a valid log entry is identified.
|
EventRecord[] |
CPUParser.monitor()
Invokes query() to do the parsing and handles parsing errors.
|
EventRecord[] |
LogParser.monitor()
Get an array of all EventRecords that can be extracted for
the represented hardware component.
|
EventRecord[] |
Monitored.monitor()
Get an array of all EventRecords that can be extracted for
the represented hardware component.
|
EventRecord[] |
NICParser.monitor()
Invokes query() to do the parsing and handles parsing errors for
each one of the NICs specified in the configuration.
|
EventRecord[] |
SMARTParser.monitor()
Invokes query() to do the parsing and handles parsing errors for
each one of the disks specified in the configuration.
|
EventRecord[] |
SensorsParser.monitor()
Invokes query() to do the parsing and handles parsing errors.
|
abstract EventRecord[] |
ShellParser.monitor() |
EventRecord |
HadoopLogParser.parseLine(java.lang.String line)
Parses one line of the log.
|
abstract EventRecord |
LogParser.parseLine(java.lang.String line)
Parses one line of the log.
|
EventRecord |
SystemLogParser.parseLine(java.lang.String line)
Parses one line of the log.
|
EventRecord |
CPUParser.query(java.lang.String s)
Reads and parses /proc/cpuinfo and creates an appropriate
EventRecord that holds the desirable information.
|
EventRecord |
NICParser.query(java.lang.String device)
Reads and parses the output of ifconfig for a specified NIC and
creates an appropriate EventRecord that holds the desirable
information for it.
|
EventRecord |
SMARTParser.query(java.lang.String device)
Reads and parses the output of smartctl for a specified disk and
creates an appropriate EventRecord that holds the desirable
information for it.
|
EventRecord |
SensorsParser.query(java.lang.String s)
Reads and parses the output of the 'sensors' command
and creates an appropriate EventRecord that holds
the desirable information.
|
abstract EventRecord |
ShellParser.query(java.lang.String s) |
Modifier and Type | Method and Description |
---|---|
static SerializedRecord |
Anonymizer.anonymize(EventRecord er)
Anonymize hostnames, ip addresses and file names/paths
that appear in fields of an EventRecord, after it gets
serialized into a SerializedRecord.
|
void |
LocalStore.insert(EventRecord er)
Insert an EventRecord to the local storage, after it
gets serialized and anonymized.
|
void |
LocalStore.insert(EventRecord[] ers)
Insert an array of EventRecords to the local storage, after they
get serialized and anonymized.
|
Constructor and Description |
---|
SerializedRecord(EventRecord source)
Create the SerializedRecord given an EventRecord.
|
Copyright © 2009 The Apache Software Foundation