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

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

public class VerifyNumReducersForBucketsHook
extends Object
implements ExecuteWithHookContext

VerifyNumReducersForBucketsHook. This hook is meant to be used with bucket_num_reducers.q . It checks whether the number of reducers has been correctly set.


Constructor Summary
VerifyNumReducersForBucketsHook()
           
 
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

VerifyNumReducersForBucketsHook

public VerifyNumReducersForBucketsHook()
Method Detail

run

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


Copyright © 2011 The Apache Software Foundation