Hadoop Common
  1. Hadoop Common
  2. HADOOP-6114

bug in documentation: org.apache.hadoop.fs.FileStatus.getLen()

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.18.3, 0.20.0
    • Fix Version/s: 0.21.0
    • Component/s: documentation
    • Labels:
      None

      Description

      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.

      1. HADOOP-6114.patch
        0.5 kB
        Dmitry Rzhevskiy

        Issue Links

          Activity

          Hide
          Dmitry Rzhevskiy added a comment -

          trunk of project compiled but some tests failed ( tests failed, before applying patch too)

          Show
          Dmitry Rzhevskiy added a comment - trunk of project compiled but some tests failed ( tests failed, before applying patch too)
          Hide
          dhruba borthakur added a comment -

          I just committed this. Thanks Dmitry.

          Show
          dhruba borthakur added a comment - I just committed this. Thanks Dmitry.
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Common-trunk #14 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk/14/)
          . Fix javadoc documentation for FileStatus.getLen.
          (Dmitry Rzhevskiy via dhruba)

          Show
          Hudson added a comment - Integrated in Hadoop-Common-trunk #14 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk/14/ ) . Fix javadoc documentation for FileStatus.getLen. (Dmitry Rzhevskiy via dhruba)

            People

            • Assignee:
              Dmitry Rzhevskiy
              Reporter:
              Dmitry Rzhevskiy
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development