>From my understanding, getLen() always returned the length of the file in
bytes.

thank,
dhruba


On Fri, Jun 26, 2009 at 9:20 AM, Dima Rzhevskiy <d...@rzhevskiy.info> wrote:

> Hi all
> I try get length of file hadoop(RawFilesysten or hdfs) .
> In javadoc method  org.apache.hadoop.fs.FileStatus.getLen()  writtend that
> this method "return the length of this file, in blocks"
> But method return size in bytes.
>
> Is this bug in documentation or implememtation?
> I use  hadoop-0.18.3.
>
>
> Dmitry Rzhevskiy.
>

Reply via email to