Differences between hflush & hsync()

2012-04-12 Thread Inder Pall
Folks, Can some one shed out more technical details than what the javadoc talks about. Also, which one should be used when? -- Thanks, - Inder Tech Platforms @Inmobi Linkedin - http://goo.gl/eR4Ub

Re: Differences between hflush & hsync()

2012-04-12 Thread Harsh J
In Hadoop 1.0 (from 0.20-append), there's just a single "sync(…)" output-stream call that does a metadata update to persist the data already written to the under-construction blocks and flushes the open file for the block at the DNs (but does *not* flush the file descriptor of the file at the OS le

Re: Differences between hflush & hsync()

2012-04-12 Thread Inder Pall
Thanks Harsh. - inder On Thu, Apr 12, 2012 at 6:13 PM, Harsh J wrote: > In Hadoop 1.0 (from 0.20-append), there's just a single "sync(…)" > output-stream call that does a metadata update to persist the data > already written to the under-construction blocks and flushes the open > file for the b