[ https://issues.apache.org/jira/browse/PIG-924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12744305#action_12744305 ]
Todd Lipcon commented on PIG-924: --------------------------------- Couple notes on the patch: - you've turned javac.deprecation from "on" to "off" - seems unwise. perhaps you should just do this for the one javac task where you want that behavior - src.shims.dir.com in the build.xml has a "REMOVE" mark on it - is this still needed? it looks like it is, but perhaps is better named .common instead of .com - you've moved junit.hadoop.conf into basedir instead of ${user.home} - this seems reasonable but is orthogonal to this patch. should be a separate JIRA - why are we now excluding HBase storage test? - some spurious whitespace changes (eg TypeCheckingVisitor.java) - in MRCompiler, a factor of 0.9 seems to have disappeared. the commented-out line should be removed - some tab characters seem to be introduced - in MiniCluster, also some commented-out code which should be cleaned up > Make Pig work with multiple versions of Hadoop > ---------------------------------------------- > > Key: PIG-924 > URL: https://issues.apache.org/jira/browse/PIG-924 > Project: Pig > Issue Type: Bug > Reporter: Dmitriy V. Ryaboy > Attachments: pig_924.patch > > > The current Pig build scripts package hadoop and other dependencies into the > pig.jar file. > This means that if users upgrade Hadoop, they also need to upgrade Pig. > Pig has relatively few dependencies on Hadoop interfaces that changed between > 18, 19, and 20. It is possibly to write a dynamic shim that allows Pig to > use the correct calls for any of the above versions of Hadoop. Unfortunately, > the building process precludes us from the ability to do this at runtime, and > forces an unnecessary Pig rebuild even if dynamic shims are created. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.