[ 
https://issues.apache.org/jira/browse/OOZIE-308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13099980#comment-13099980
 ] 

Hadoop QA commented on OOZIE-308:
---------------------------------

brookwc remarked:
Pig team suggests Oozie to use the new API PigRunner.run() to submit and run 
Pig jobs. They do NOT plan to support use of Main.main(args) in Oozie in 
future. As such, we plan to adopt this new API. Also for backward-compatibility 
concern, we need to support old Pig version as well. 

Our proposal is as follows:
Oozie will check if new class/API is available on classpath through java 
reflection, if it is (Pig-0.8+), Oozie will use it. Otherwise Oozie will still 
use Main.main().

Your comments and thoughts are welcome.

> GH-480: Support new Pig API to submit pig job
> ---------------------------------------------
>
>                 Key: OOZIE-308
>                 URL: https://issues.apache.org/jira/browse/OOZIE-308
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Hadoop QA
>
> In addition of supporting old pig release, oozie needs to support PigRunner 
> API for pig 0.8+.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to