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

Alan Gates commented on PIG-162:
--------------------------------

I still don't understand exactly what you want to happen.  Is it that 
Launcher.launchPig is the default behavior and you only want to have subclasses 
override it if they need to?  If so, make it non-static.  Then if LocalLauncher 
or MapReduceLauncher want to override it, they can do so, and still call 
super.launchPig from inside their version of launchPig to avoid duplicating the 
functionality.  If it isn't something that outsiders should be calling, make it 
protected and then provide an abstract function in launcher (say launch()) that 
LocalLauncher and MapReduceLauncher could both implement, which would then in 
turn call Launcher.launchPig().

> Rework mapreduce submission and monitoring
> ------------------------------------------
>
>                 Key: PIG-162
>                 URL: https://issues.apache.org/jira/browse/PIG-162
>             Project: Pig
>          Issue Type: Sub-task
>         Environment: This bug tracks works to rework the submission and 
> monitoring interface to map reduce as described in  
> http://wiki.apache.org/pig/PigTypesFunctionalSpec
>            Reporter: Alan Gates
>            Assignee: Alan Gates
>         Attachments: mapreduceJumbo.patch, mapreduceJumboWithComInc.patch, 
> modJumbo.patch, split.png, TEST-org.apache.pig.test.TestMRCompiler.txt, 
> TEST-org.apache.pig.test.TestMRCompiler.txt, 
> TEST-org.apache.pig.test.TestUnion.txt
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to