[ https://issues.apache.org/jira/browse/OOZIE-2978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16080451#comment-16080451 ]
Hadoop QA commented on OOZIE-2978: ---------------------------------- Testing JIRA OOZIE-2978 Cleaning local git workspace ---------------------------- {color:green}+1 PATCH_APPLIES{color} {color:green}+1 CLEAN{color} {color:red}-1 RAW_PATCH_ANALYSIS{color} . {color:green}+1{color} the patch does not introduce any @author tags . {color:green}+1{color} the patch does not introduce any tabs . {color:green}+1{color} the patch does not introduce any trailing spaces . {color:green}+1{color} the patch does not introduce any line longer than 132 . {color:red}-1{color} the patch does not add/modify any testcase {color:green}+1 RAT{color} . {color:green}+1{color} the patch does not seem to introduce new RAT warnings {color:green}+1 JAVADOC{color} . {color:green}+1{color} the patch does not seem to introduce new Javadoc warnings . {color:red}WARNING{color}: the current HEAD has 1 Javadoc warning(s) {color:green}+1 COMPILE{color} . {color:green}+1{color} HEAD compiles . {color:green}+1{color} patch compiles . {color:green}+1{color} the patch does not seem to introduce new javac warnings {color:green}+1{color} There are no new bugs found in total. {color:green}+1 BACKWARDS_COMPATIBILITY{color} . {color:green}+1{color} the patch does not change any JPA Entity/Colum/Basic/Lob/Transient annotations . {color:green}+1{color} the patch does not modify JPA files {color:green}+1 TESTS{color} . Tests run: 1965 . Tests rerun: 73 . Tests failed at first run: org.apache.oozie.service.TestPartitionDependencyManagerEhcache,org.apache.oozie.service.TestJMSAccessorService,org.apache.oozie.service.TestRecoveryService,org.apache.oozie.service.TestPartitionDependencyManagerService,org.apache.oozie.action.hadoop.TestJavaActionExecutor,org.apache.oozie.action.hadoop.TestHdfsOperations, {color:green}+1 DISTRO{color} . {color:green}+1{color} distro tarball builds with the patch ---------------------------- {color:red}*-1 Overall result, please check the reported -1(s)*{color} {color:red}. There is at least one warning, please check{color} The full output of the test-patch run is available at . https://builds.apache.org/job/oozie-trunk-precommit-build/3962/ > Remove code that handles Pig versions before 0.8 > ------------------------------------------------- > > Key: OOZIE-2978 > URL: https://issues.apache.org/jira/browse/OOZIE-2978 > Project: Oozie > Issue Type: Bug > Reporter: Attila Sasvari > Assignee: Attila Sasvari > Attachments: OOZIE-2978-01.patch, OOZIE-2978-02.patch, > OOZIE-2978-03.patch, OOZIE-2978-04.patch > > > Oozie submits Pig jobs according to given Pig version. For example, Pig > versions before 0.8 are treated in the following way: > > [Main.main(args)|https://github.com/apache/oozie/blob/678f1b2b2cc9a2456c7e3d9f693d2637f1f03257/sharelib/pig/src/main/java/org/apache/oozie/action/hadoop/PigMain.java#L382] > However, we dropped support for *Hadoop 1*, *Hadoop 0.23* support via > {{OOZIE-2316}}. I wonder whether submitting jobs using Pig version before 0.8 > will work at all: > - > https://pig.apache.org/releases.html#13+May%2C+2010%3A+release+0.7.0+available > says "This release works with Hadoop 0.20". Pig *0.10.1* is the first pig > release that works with Hadoop 2. > - Looking at [PIG-2125|https://issues.apache.org/jira/browse/PIG-2125], I > believe the answer is NO. > Therefore we can safely delete corresponding parts from the codebase. There > is also another class {{PigMainWithOldAPI}} that is only used by tests in > {{TestPigMainWithOldAPI}}. So we can remove these too. > -- This message was sent by Atlassian JIRA (v6.4.14#64029)