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

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

public class ATSHook
extends Object
implements ExecuteWithHookContext

ATSHook sends query + plan info to Ambari Timeline Server


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

Constructor Detail

ATSHook

public ATSHook()
Method Detail

run

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


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