Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-4059 Pig on Spark
  3. PIG-4364

remove unnessary MR plan code generated in SparkLauncher.java

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: None
    • Fix Version/s: spark-branch
    • Component/s: spark
    • Labels:
      None

      Description

      following code in SparkLauncher.java Line 112~116 is about MR plan is generated in Spark mode which is unnecessary.

              // Code pulled from MapReduceLauncher
              MRCompiler mrCompiler = new MRCompiler(physicalPlan, pigContext);
              mrCompiler.compile();
              MROperPlan plan = mrCompiler.getMRPlan();
              POPackageAnnotator pkgAnnotator = new POPackageAnnotator(plan);
              pkgAnnotator.visit();
      

        Attachments

        1. PIG-4364.patch
          1 kB
          liyunzhang

          Activity

            People

            • Assignee:
              kellyzly liyunzhang
              Reporter:
              kellyzly liyunzhang
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: