org.apache.hadoop.hive.ql.exec.mr
Class JobDebugger

java.lang.Object
  extended by org.apache.hadoop.hive.ql.exec.mr.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.


Constructor Summary
JobDebugger(org.apache.hadoop.mapred.JobConf conf, org.apache.hadoop.mapred.RunningJob rj, SessionState.LogHelper console)
           
JobDebugger(org.apache.hadoop.mapred.JobConf conf, org.apache.hadoop.mapred.RunningJob rj, SessionState.LogHelper console, Map<String,List<List<String>>> stackTraces)
           
 
Method Summary
static int extractErrorCode(String[] diagnostics)
           
 int getErrorCode()
           
 void run()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

run

public void run()
Specified by:
run in interface Runnable

extractErrorCode

public static int extractErrorCode(String[] diagnostics)

getErrorCode

public int getErrorCode()


Copyright © 2014 The Apache Software Foundation. All rights reserved.