org.apache.hadoop.hive.ql.exec
Class JobDebugger
java.lang.Object
org.apache.hadoop.hive.ql.exec.JobDebugger
- All Implemented Interfaces:
- Runnable
public class JobDebugger
- extends Object
- implements Runnable
JobDebugger takes a RunningJob that has failed and grabs the top 4 failing
tasks and outputs this information to the Hive CLI.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JobDebugger
public JobDebugger(org.apache.hadoop.mapred.JobConf conf,
org.apache.hadoop.mapred.RunningJob rj,
SessionState.LogHelper console)
JobDebugger
public JobDebugger(org.apache.hadoop.mapred.JobConf conf,
org.apache.hadoop.mapred.RunningJob rj,
SessionState.LogHelper console,
Map<String,List<List<String>>> stackTraces)
run
public void run()
- Specified by:
run
in interface Runnable
extractErrorCode
public static int extractErrorCode(String[] diagnostics)
getErrorCode
public int getErrorCode()
Copyright © 2013 The Apache Software Foundation