I know the script is a bit pointless, but I was just testing and modifying the script bit by bit.
If I remove the limit in any case I get the same exception but with LOSort.
The problem, I think, is that the rule assumes there is only 1 sink in the nested block and that this sink is a LOGenerate.
|Transition||Time In Source Status||Execution Times||Last Executer||Last Execution Date|
|142d 18h 2m||1||Daniel Dai||02/Nov/11 06:19|
|82d 1h 11m||1||Daniel Dai||23/Jan/12 07:31|
|Status||Resolved [ 5 ]||Closed [ 6 ]|
|Fix Version/s||0.9.2 [ 12318248 ]|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Hadoop Flags||Reviewed [ 10343 ]|
|Fix Version/s||0.11 [ 12318878 ]|
|Resolution||Fixed [ 1 ]|
|Affects Version/s||0.9.0 [ 12315191 ]|
|Affects Version/s||0.9.1 [ 12317343 ]|
|Attachment||PIG-2119-1.patch [ 12501123 ]|
|Assignee||Daniel Dai [ daijy ]|
|Attachment||PIG-2119-1.patch [ 12501122 ]|
|Field||Original Value||New Value|
|Fix Version/s||0.10 [ 12316246 ]|