hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Rosenstrauch <dar...@darose.net>
Subject Re: How to set SequenceFile.Metadata from within SequenceFileOutputFormat?
Date Mon, 09 Aug 2010 14:39:38 GMT
On 08/07/2010 02:06 AM, Harsh J wrote:
> On Sat, Aug 7, 2010 at 11:20 AM, David Rosenstrauch<darose@darose.net>  wrote:
>> I'm using a SequenceFileOutputFormat.  But I'd like to be able to set some
>> SequenceFile.Metadata on the SequenceFile.Writer that's getting created.
>>   Doesn't look like there's any easy way to do that, other than overriding
>> the SequenceFileOutputFormat.getRecordWriter() method.
>>
>> Am I overlooking anything?
> Doesn't seem like you are on a wrong path, so don't worry and go ahead!
>
> P.s.: A reply by Tom White to a similar question:
> http://www.mail-archive.com/common-user@hadoop.apache.org/msg02218.html

Thanks for the link!

Sounds like I'll have to sub-class, then.  A bit of a kludge, IMO, but I 
can live with it.  That's life on the bleeding edge!

Thanks again,

DR

Mime
View raw message