org.apache.hadoop.hive.ql.hooks
Class VerifySessionStateLocalErrorsHook

java.lang.Object
  extended by org.apache.hadoop.hive.ql.hooks.VerifySessionStateLocalErrorsHook
All Implemented Interfaces:
ExecuteWithHookContext, Hook

public class VerifySessionStateLocalErrorsHook
extends Object
implements ExecuteWithHookContext

VerifySessionStateLocalErrorsHook. This hook is intended for testing that the localMapRedErrors variable in SessionState is populated when a local map reduce job fails. It prints the ID of the stage that failed, and the lines recorded in the variable.


Constructor Summary
VerifySessionStateLocalErrorsHook()
           
 
Method Summary
 void run(HookContext hookContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VerifySessionStateLocalErrorsHook

public VerifySessionStateLocalErrorsHook()
Method Detail

run

public void run(HookContext hookContext)
Specified by:
run in interface ExecuteWithHookContext
Parameters:
hookContext - The hook context passed to each hooks.


Copyright © 2012 The Apache Software Foundation