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

Carlos Balduz commented on PIG-4231:
------------------------------------

[~praveenr019] I have just uploaded both files. As I commented in another 
issue, when trying to make an order by after a group by, it produces an error. 
This is necessary when doing a "RANK BY", so until that issue is solved trying 
to perform a RANK BY operation will produce the SelfSpillBag$MemoryLimits 
error. I marked the problematic attribute as transient so I could work on 
making the RANK work, so that I could test it fully.

Thank you very much for your help!

> Make rank work with Spark
> -------------------------
>
>                 Key: PIG-4231
>                 URL: https://issues.apache.org/jira/browse/PIG-4231
>             Project: Pig
>          Issue Type: Sub-task
>          Components: spark
>            Reporter: Carlos Balduz
>            Assignee: Carlos Balduz
>              Labels: spork
>         Attachments: CounterConverter.java, PIG-4231.patch, RankConverter.java
>
>
> 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)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to