hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig Macdonald (JIRA)" <j...@apache.org>
Subject [jira] Commented: (PIG-32) Abstraction Layer to decouple Pig from Back-End
Date Mon, 04 Feb 2008 10:53:08 GMT

    [ https://issues.apache.org/jira/browse/PIG-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12565303#action_12565303
] 

Craig Macdonald commented on PIG-32:
------------------------------------

Hello,

the PIG-32 commit (r617338) broke local execution:
{{{
java.lang.ClassCastException: org.apache.pig.backend.local.executionengine.LocalExecutionEngine
cannot be cast to org.apache.pig.backend.hadoop.executionengine.HExecutionEngine
        at org.apache.pig.tools.grunt.GruntParser.setParams(GruntParser.java:93)
        at org.apache.pig.tools.grunt.Grunt.<init>(Grunt.java:42)
        at org.apache.pig.Main.main(Main.java:245)
}}}

The relevant code from GruntParser is:
{{{
        // TODO: this violates the abstraction layer decoupling between
        // front end and back end and needs to be changed.
        // Right now I am not clear on how the Job Id comes from to tell
        // the back end to kill a given job (mJobClient is used only in
        // processKill)
        //
        mJobClient = ((HExecutionEngine)(mPigServer.getPigContext().getExecutionEngine())).getJobClient();
}}}

Thanks

C

> 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-32.jdk1.5.patch, 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.


Mime
View raw message