hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dima Rzhevskiy <d...@rzhevskiy.info>
Subject FileStatus.getLen(): bug in documentation or bug in implememtation?
Date Fri, 26 Jun 2009 23:18:51 GMT
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.

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