You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pig.apache.org by Daniel Dai <da...@hortonworks.com> on 2011/09/30 22:42:31 UTC

Re: Job Hangs - GROUPing a null relation

I tried and group by null works. Maybe something else?

On Thu, Sep 29, 2011 at 9:02 PM, Sirchabesan, Kannappan
<k....@teamaol.com> wrote:
> Hi
>  I am encountering an issue where the pig job just hangs indefinitely. On debugging, I find that the issue seems to happen when GROUPing a null relation on multiple fields.
>
> code:
> a = LOAD 'emptyfile';
> b = GROUP a BY ($0, $1);
> DUMP b;
>
> -- Pig 0.8.1 + hadoop 0.20.2
>
> Has anyone encountered this issue ?. Any pointers to a solution or a JIRA ticket?. I am relatively new to working with Pig.
>
> Thanks
> Kannappan