hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleksandr Alesinskyy (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-3362) Javadoc for FileStatus.getLen() is incorrect
Date Thu, 03 May 2012 15:10:50 GMT
Oleksandr Alesinskyy created HDFS-3362:
------------------------------------------

             Summary: Javadoc for FileStatus.getLen() is incorrect
                 Key: HDFS-3362
                 URL: https://issues.apache.org/jira/browse/HDFS-3362
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: documentation, hdfs client
    Affects Versions: 1.0.2, 0.20.2
            Reporter: Oleksandr Alesinskyy
            Priority: Minor


{code}
  /* 
   * @return the length of this file, in blocks
   */
  public long getLen() {
    return length;
  }
{code}
in reality it return a length not in blocks but in bytes.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message