[
https://issues.apache.org/jira/browse/PIG-4364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
liyunzhang_intel updated PIG-4364:
----------------------------------
Attachment: PIG-4364.patch
> remove unnessary MR plan code generated in SparkLauncher.java
> -------------------------------------------------------------
>
> Key: PIG-4364
> URL: https://issues.apache.org/jira/browse/PIG-4364
> Project: Pig
> Issue Type: Bug
> Components: spark
> Reporter: liyunzhang_intel
> Assignee: liyunzhang_intel
> Attachments: PIG-4364.patch
>
>
> following code in SparkLauncher.java Line 112~116 is about MR plan is
> generated in Spark mode which is unnecessary.
> {code}
> // Code pulled from MapReduceLauncher
> MRCompiler mrCompiler = new MRCompiler(physicalPlan, pigContext);
> mrCompiler.compile();
> MROperPlan plan = mrCompiler.getMRPlan();
> POPackageAnnotator pkgAnnotator = new POPackageAnnotator(plan);
> pkgAnnotator.visit();
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)