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

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • None
    • spark-branch
    • spark
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: