[ 
https://issues.apache.org/jira/browse/PIG-3890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Cheolsoo Park resolved PIG-3890.
--------------------------------

    Resolution: Not a Problem

Closing the jira as it is not a problem.

Order by works fine. I guess the issue the user faced is probably 
environment-related (e.g. Hadoop/Tez/Pig installation).

> Global sort is not working (order by) Pig over Tez
> --------------------------------------------------
>
>                 Key: PIG-3890
>                 URL: https://issues.apache.org/jira/browse/PIG-3890
>             Project: Pig
>          Issue Type: Sub-task
>         Environment: Linux
>            Reporter: Nagamallikarjuna
>            Priority: Minor
>              Labels: Global, pig, sort, tez
>
> I tried to run pig scripts on top of Apache Tez. I am getting the following 
> exception while running global sort (order by operator).
> org.apache.pig.impl.logicalLayer.FrontendException: ERROR 1066: Unable to 
> open iterator for alias orddata
>         at org.apache.pig.PigServer.openIterator(PigServer.java:880)
>         at 
> org.apache.pig.tools.grunt.GruntParser.processDump(GruntParser.java:774)
>         at 
> org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:372)
>         at 
> org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:198)
>         at 
> org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:173)
>         at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:69)
>         at org.apache.pig.Main.run(Main.java:541)
>         at org.apache.pig.Main.main(Main.java:156)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:601)
>         at org.apache.hadoop.util.RunJar.main(RunJar.java:212)
> Caused by: java.io.IOException: Couldn't retrieve job.
>         at org.apache.pig.PigServer.store(PigServer.java:944)
>         at org.apache.pig.PigServer.openIterator(PigServer.java:855)
>         ... 12 more



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to