hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Todd Lipcon <t...@cloudera.com>
Subject Re: SequenceFile and hadoop sync
Date Mon, 12 Jul 2010 22:34:52 GMT
Hi Ted,

You'll find that SequenceFile.Writer has a syncFs() method in the append
branch. This syncs the underlying FSDataOutputStream.

-Todd

On Mon, Jul 12, 2010 at 3:29 PM, Ted Yu <yuzhihong@gmail.com> wrote:

> We are using cdh3b2 which contains append/sync functionality.
> Our code uses SequenceFile.BlockCompressWriter.append() to write to
> sequence
> file. Since FSDataOutputStream out doesn't have public visibility (in
> SequenceFile.Writer), I am wondering how we can utilize the new sync
> functionality.
>
> Your comment is appreciated.
>



-- 
Todd Lipcon
Software Engineer, Cloudera

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