You need to use: http://hadoop.apache.org/common/docs/current/api/org/apache/hadoop/fs/FileStatus.html#getLen()
via http://hadoop.apache.org/common/docs/current/api/org/apache/hadoop/fs/FileSystem.html#getFileStatus(org.apache.hadoop.fs.Path) On Thu, Nov 3, 2011 at 11:59 PM, Steve Lewis <lordjoe2...@gmail.com> wrote: > FileSystem.getLength(Path path) is deprecated > getFileStatus(Path path) .getLen(String path) seems to return the path in > Blocks whereas I want it in bytes > -- > Steven M. Lewis PhD > 4221 105th Ave NE > Kirkland, WA 98033 > 206-384-1340 (cell) > Skype lordjoe_com > > > -- Harsh J