hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hemant Bhanawat <hema...@vmware.com>
Subject Regarding hsync
Date Tue, 09 Jul 2013 07:25:23 GMT

I am currently working on hadoop version 2.0.*. 

Currently, hsync does not update the file size on namenode. So, if my process dies after calling
hsync but before calling file close, the file is left with an inconsistent file size. I would
like to fix this file size. Is there a way to do that? A workaround that I have come across
is to open the file stream in append mode and close it. This fixes the file size on the namenode.
Is it a reliable solution? 


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