Re: Zero file size after hsync

2011-03-18 Thread Viliam Holub
t; new data. > > Anyway, please feel free to file a JIRA if you feel it is a bug or you like > to > have a feature request. > > Hope it helps. > Nicholas > > > > > ____ > From: Viliam Holub > To: hdfs-user@hadoop.apach

Re: Zero file size after hsync

2011-03-18 Thread Tsz Wo (Nicholas), Sze
ile a JIRA if you feel it is a bug or you like to have a feature request. Hope it helps. Nicholas From: Viliam Holub To: hdfs-user@hadoop.apache.org Sent: Fri, March 18, 2011 9:29:32 AM Subject: Zero file size after hsync Hi all, size of a newly created fi

Zero file size after hsync

2011-03-18 Thread Viliam Holub
Hi all, size of a newly created file is reported to be zero even though I've written some data and hsync-ed them. Is that correct and expected effect? hadoop fs -cat will retrieve the data correctly. As a consequence SequenceFile fails to seek in the file since it tests the position against file