AH!!! I figured it out… it's a bug with Pig not reporting the correct
number of records emitted.


On Sun, May 18, 2014 at 5:32 PM, Kevin Burton <[email protected]> wrote:

> I'm really stumped on this one.
>
> I have some experience with Pig from about a year ago so I'm somewhat
> familiar with it.
>
> I'm running Hadoop 2.4 and I recompiled pig with:
>
> ant clean jar-withouthadoop -Dhadoopversion=23
>
> I uploaded the excite demo and bzip2 decompressed it…
>
> The file is there. If I 'dump' it,.. I'll get output.
>
> However, I get empty output:
>
>
> Input(s):
> Successfully read 0 records from: "/excite.log"
>
> Output(s):
> Successfully stored 0 records in: "/test-output3"
>
> … this is the script I'm running:
>
> raw = LOAD '/excite.log' USING PigStorage('\t') AS (user, time, query);
>
> foo = FOREACH raw GENERATE user, time, query;
> STORE foo INTO '/test-output3' ;
>
> … I had the STORE with a USING PigStorage() … but removed it to debug and
> that didn't fix the problem..
>
> Any advice here?
>
> --
>
> Founder/CEO Spinn3r.com
> Location: *San Francisco, CA*
> Skype: *burtonator*
> blog: http://burtonator.wordpress.com
> … or check out my Google+ 
> profile<https://plus.google.com/102718274791889610666/posts>
> <http://spinn3r.com>
> War is peace. Freedom is slavery. Ignorance is strength. Corporations are
> people.
>
>


-- 

Founder/CEO Spinn3r.com
Location: *San Francisco, CA*
Skype: *burtonator*
blog: http://burtonator.wordpress.com
… or check out my Google+
profile<https://plus.google.com/102718274791889610666/posts>
<http://spinn3r.com>
War is peace. Freedom is slavery. Ignorance is strength. Corporations are
people.

Reply via email to