org.apache.hadoop.hive.ql.hooks
Class VerifySessionStateLocalErrorsHook
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VerifySessionStateLocalErrorsHook
public VerifySessionStateLocalErrorsHook()
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