I think, you might not completed even single block write completely. Length will be updated in NN after completing the block. Currently partial block lengths will not be included in length calculation.
Regards, Uma ________________________________ From: Inder Pall [inder.p...@gmail.com] Sent: Monday, November 28, 2011 5:13 PM To: hdfs-user@hadoop.apache.org Subject: hdfs behavior People, i am seeing the following - 1. writing to a large file on HDFS 2. tail -f on the same file shows data is streaming. 3. hadoop dfs -ls on the same file shows size as 0. Has anyone experienced this? -- Inder