org.apache.hadoop.hive.ql.exec.errors
Class TaskLogProcessor

java.lang.Object
  extended by 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.


Constructor Summary
TaskLogProcessor(org.apache.hadoop.mapred.JobConf conf)
           
 
Method Summary
 void addTaskAttemptLogUrl(String url)
          Adds a task log URL for the heuristics to read through.
 List<ErrorAndSolution> getErrors()
          Processes the provided task logs using the known error heuristics to get the matching errors.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaskLogProcessor

public TaskLogProcessor(org.apache.hadoop.mapred.JobConf conf)
Method Detail

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 © 2011 The Apache Software Foundation