org.apache.hadoop.hive.ql.exec.errors
Class TaskLogProcessor
java.lang.Object
org.apache.hadoop.hive.ql.exec.errors.TaskLogProcessor
public class TaskLogProcessor
- extends Object
TaskLogProcessor reads the logs from failed task attempts and tries to figure
out what the cause of the error was using various heuristics.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TaskLogProcessor
public TaskLogProcessor(org.apache.hadoop.mapred.JobConf conf)
addTaskAttemptLogUrl
public void addTaskAttemptLogUrl(String url)
- Adds a task log URL for the heuristics to read through.
- Parameters:
url
-
getErrors
public List<ErrorAndSolution> getErrors()
- Processes the provided task logs using the known error heuristics to get
the matching errors.
- Returns:
- A ErrorAndSolution from the ErrorHeuristic that most frequently
generated matches. In case of ties, multiple ErrorAndSolutions will be
returned.
Copyright © 2010 The Apache Software Foundation