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

Make rank work with Spark

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • spark-branch
    • spark

    Description

      Rank does not work with Spark since PORank and POCounter have not been implemented yet.

      Pig Stack Trace
      ---------------
      ERROR 0: java.lang.IllegalArgumentException: Spork unsupported PhysicalOperator: (Name: DATA: POCounter[tuple] - scope-146 Operator Key: scope-146)

      org.apache.pig.backend.executionengine.ExecException: ERROR 0: java.lang.IllegalArgumentException: Spork unsupported PhysicalOperator: (Name: DATA: POCounter[tuple] - scope-146 Operator Key: scope-146)
      at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.launchPig(HExecutionEngine.java:285)
      at org.apache.pig.PigServer.launchPlan(PigServer.java:1378)
      at org.apache.pig.PigServer.executeCompiledLogicalPlan(PigServer.java:1363)
      at org.apache.pig.PigServer.execute(PigServer.java:1352)
      at org.apache.pig.PigServer.executeBatch(PigServer.java:403)
      at org.apache.pig.PigServer.executeBatch(PigServer.java:386)
      at org.apache.pig.tools.grunt.GruntParser.executeBatch(GruntParser.java:170)
      at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:233)
      at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:204)
      at org.apache.pig.tools.grunt.Grunt.exec(Grunt.java:81)
      at org.apache.pig.Main.run(Main.java:482)
      at org.apache.pig.Main.main(Main.java:164)

      Attachments

        1. PIG-4231.patch
          4 kB
          Carlos Balduz
        2. CounterConverter.java
          4 kB
          Carlos Balduz
        3. RankConverter.java
          4 kB
          Carlos Balduz
        4. PIG-4231-2.patch
          12 kB
          Praveen Rachabattuni

        Activity

          People

            Carlos Balduz Carlos Balduz
            Carlos Balduz Carlos Balduz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: