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

          Dmitry Rzhevskiy created issue -
          Dmitry Rzhevskiy made changes -
          Field Original Value New Value
          Attachment HADOOP-6114.patch [ 12411973 ]
          Dmitry Rzhevskiy made changes -
          Attachment HADOOP-6114.patch [ 12411973 ]
          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)
          Dmitry Rzhevskiy made changes -
          Attachment HADOOP-6114.patch [ 12412000 ]
          Dmitry Rzhevskiy made changes -
          Comment [ project compiled but some tests filed (befor modificatios tests failed too too)
          ]
          dhruba borthakur made changes -
          Assignee Dmitry Rzhevskiy [ dmrzh ]
          dhruba borthakur made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Fix Version/s 0.21.0 [ 12313563 ]
          dhruba borthakur made changes -
          Component/s documentation [ 12311160 ]
          Hide
          dhruba borthakur added a comment -

          I just committed this. Thanks Dmitry.

          Show
          dhruba borthakur added a comment - I just committed this. Thanks Dmitry.
          dhruba borthakur made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          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)
          Tom White made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Harsh J made changes -
          Link This issue is duplicated by HDFS-3362 [ HDFS-3362 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development