Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig, mail # user - Read avro record from HDFS


Copy link to this message
-
Re: Read avro record from HDFS
Fabian Alenius 2012-07-02, 23:45
Thanks!

Unfortunately I'm stuck with pig 0.9.2 so I'm looking for an example in Java.

On Tue, Jul 3, 2012 at 1:03 AM, Russell Jurney <[EMAIL PROTECTED]> wrote:
> Checkout chapter 3 of my book for a tutorial. Be sure to use pig 0.10.
>
> http://ofps.oreilly.com/titles/9781449326265/chapter_3.html
>
> Russell Jurney
> twitter.com/rjurney
> [EMAIL PROTECTED]
> datasyndrome.com
>
> On Jul 2, 2012, at 3:50 PM, Fabian Alenius <[EMAIL PROTECTED]> wrote:
>
>> Hi,
>>
>> does anyone happen to have a sample of how to load a avro record from HDFS
>> given a location. In my case the schema is just "binary".
>>
>> I'm working on a custom loader and I've been playing around with the avro
>> API, but so far no luck.
>>
>>
>> Thanks,
>>
>> Fabian