|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ErrorHeuristic
Classes implementing ErrorHeuristic are able to generate a possible cause and solution for Hive jobs that have failed by examining the query, task log files, and the job configuration. A class implementing ErrorHeuristic should only detect one type of error.
| Method Summary | |
|---|---|
ErrorAndSolution |
getErrorAndSolution()
Examine the hive query, job configuration, and the lines from the task log seen so far though processLogLine() and generate a possible cause/solution. |
void |
init(String query,
org.apache.hadoop.mapred.JobConf jobConf)
Initialize this error heuristic. |
void |
processLogLine(String line)
Process the given log line. |
| Method Detail |
|---|
void init(String query,
org.apache.hadoop.mapred.JobConf jobConf)
query - jobConf - void processLogLine(String line)
line - ErrorAndSolution getErrorAndSolution()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||