Will prepare a patch for it. Thanks, Ben, for finding this problem.
-a. -----Original Message----- From: Benjamin Francisoud (JIRA) [mailto:[EMAIL PROTECTED] Sent: Friday, February 01, 2008 3:15 AM To: [email protected] Subject: [jira] Commented: (PIG-32) Abstraction Layer to decouple Pig from Back-End [ https://issues.apache.org/jira/browse/PIG-32?page=com.atlassian.jira.plu gin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12564725#act ion_12564725 ] Benjamin Francisoud commented on PIG-32: ---------------------------------------- I think this commit broke compatibility with java 5 :( For example in PigServer line 281: {code:java} catch (ExecException e) { throw new IOException("Unable to open iterator for alias: " + id, e); } {code} This constructor is only available in java 6: * [java 5 IOException api|http://java.sun.com/j2se/1.5.0/docs/api/java/io/IOException.html#IOE xception()] * [java 6 IOException api|http://java.sun.com/javase/6/docs/api/java/io/IOException.html#IOExc eption(java.lang.String,%20java.lang.Throwable)] I made the same mistake in PIG-80 ;) I made my local eclipse use a 1.5 jdk now to avoid this kind of mistakes... See [pig-user mailing list|http://www.mail-archive.com/pig-user%40incubator.apache.org/msg0005 2.html] and [Getting started wiki page|http://wiki.apache.org/pig/GettingStarted] for details. > Abstraction Layer to decouple Pig from Back-End > ----------------------------------------------- > > Key: PIG-32 > URL: https://issues.apache.org/jira/browse/PIG-32 > Project: Pig > Issue Type: New Feature > Components: impl > Reporter: Antonio Magnaghi > Assignee: Antonio Magnaghi > Attachments: 2008.01.29.patch, DataStorage.diff, DataStorage20071212.diff, patch.2008.01.16.merge_w_trunk, patch.2008.01.23.diff, PATCH.2008.01.31, patch2007_12_26.diff, patch2007_12_26_II.diff, patch2007_12_27.diff, pig.jar, pig.jar.2008.01.16, TEST.LOG, TEST.LOGS > > > I'm opening a new issue to track the development work to support an abstraction layer for Pig as defined at http://wiki.apache.org/pig/PigAbstractionLayer -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
