Re: how to read binary data from hdfs

2012-05-01 Thread Harsh J
---Original Message- > From: Harsh J [mailto:ha...@cloudera.com] > Sent: Tuesday, May 01, 2012 6:21 PM > To: hdfs-user@hadoop.apache.org > Cc: mlor...@uci.cu > Subject: Re: how to read binary data from hdfs > > Amritanshu, > > Implement your own custom InputFormat wi

RE: how to read binary data from hdfs

2012-05-01 Thread Amritanshu Shekhar
t: Re: how to read binary data from hdfs Amritanshu, Implement your own custom InputFormat with a RecordReader and you can read your files directly. To learn how to implement custom readers/formats you can refer to an example provided via sub-title "Processing a whole file as a record&

Re: how to read binary data from hdfs

2012-05-01 Thread Harsh J
Amritanshu, Implement your own custom InputFormat with a RecordReader and you can read your files directly. To learn how to implement custom readers/formats you can refer to an example provided via sub-title "Processing a whole file as a record", Page 206 | Chapter 7: MapReduce Types and Formats