hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Saptarshi Guha <saptarshi.g...@gmail.com>
Subject Outputformat with a header attached
Date Mon, 07 Sep 2009 21:42:45 GMT
Hello,
Suppose I'd like to subclass TextOutputFormat(Hadoop 0.20) wherein the  
first 12 bytes is an offset. The record writer does its thing
and in the close method I write some information (metadata if you wlll)

Similarl to the close method is there any method in OutputFormat  
subclasses where I can write something /before/ any records are written?
Thank you
Saptarshi



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message