This project has retired. For details please refer to its
Attic page.
PigMain (Oozie Core 3.1.3-incubating API)
org.apache.oozie.action.hadoop
Class PigMain
java.lang.Object
org.apache.oozie.action.hadoop.LauncherMain
org.apache.oozie.action.hadoop.PigMain
public class PigMain
- extends LauncherMain
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PigMain
public PigMain()
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
run
protected void run(String[] args)
throws Exception
- Specified by:
run
in class LauncherMain
- Throws:
Exception
runPigJob
protected void runPigJob(String[] args,
String pigLog,
boolean resetSecurityManager)
throws Exception
- Runs the pig script using PigRunner API if version 0.8 or above. Embedded
pig within python is also supported.
- Parameters:
args
- pig command line argumentspigLog
- pig log fileresetSecurityManager
- specify if need to reset security manager
- Throws:
Exception
setPigScript
public static void setPigScript(org.apache.hadoop.conf.Configuration conf,
String script,
String[] params,
String[] args)
getHadoopJobIds
protected Properties getHadoopJobIds(String logFile)
throws IOException
- Throws:
IOException
Copyright © 2012 Apache Software Foundation. All Rights Reserved.