org.apache.oozie.action.hadoop
Class HiveMain

java.lang.Object
  extended by org.apache.oozie.action.hadoop.LauncherMain
      extended by org.apache.oozie.action.hadoop.HiveMain

public class HiveMain
extends LauncherMain


Field Summary
static String HIVE_EXEC_L4J_PROPS
           
static String HIVE_L4J_PROPS
           
static String HIVE_SITE_CONF
           
 
Fields inherited from class org.apache.oozie.action.hadoop.LauncherMain
HADOOP_JOBS
 
Constructor Summary
HiveMain()
           
 
Method Summary
static void main(String[] args)
           
protected  void run(String[] args)
           
static void setHiveScript(org.apache.hadoop.conf.Configuration conf, String script, String[] params)
           
static String setUpHiveLog4J(org.apache.hadoop.conf.Configuration hiveConf)
           
static org.apache.hadoop.conf.Configuration setUpHiveSite()
           
 
Methods inherited from class org.apache.oozie.action.hadoop.LauncherMain
getHadoopJobIds, logMasking, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HIVE_L4J_PROPS

public static final String HIVE_L4J_PROPS
See Also:
Constant Field Values

HIVE_EXEC_L4J_PROPS

public static final String HIVE_EXEC_L4J_PROPS
See Also:
Constant Field Values

HIVE_SITE_CONF

public static final String HIVE_SITE_CONF
See Also:
Constant Field Values
Constructor Detail

HiveMain

public HiveMain()
Method Detail

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

setUpHiveLog4J

public static String setUpHiveLog4J(org.apache.hadoop.conf.Configuration hiveConf)
                             throws IOException
Throws:
IOException

setUpHiveSite

public static org.apache.hadoop.conf.Configuration setUpHiveSite()
                                                          throws Exception
Throws:
Exception

run

protected void run(String[] args)
            throws Exception
Specified by:
run in class LauncherMain
Throws:
Exception

setHiveScript

public static void setHiveScript(org.apache.hadoop.conf.Configuration conf,
                                 String script,
                                 String[] params)


Copyright © 2013 Apache Software Foundation. All Rights Reserved.