Hadoop Common
  1. Hadoop Common
  2. HADOOP-6177

FSInputChecker.getPos() would return position greater than the file size

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.21.0
    • Fix Version/s: 0.21.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      When using a small buffer (< 512 bytes) to read through the whole file, the final file position is 1+ the file size.

      1. hadoop-6177-2090806.patch
        3 kB
        Hong Tang
      2. hadoop-6177-testcase.patch
        2 kB
        Hong Tang

        Activity

        Hong Tang created issue -
        Hong Tang made changes -
        Field Original Value New Value
        Attachment hadoop-6177-testcase.patch [ 12415814 ]
        Hong Tang made changes -
        Assignee Hong Tang [ hong.tang ]
        Hong Tang made changes -
        Attachment hadoop-6177-2090806.patch [ 12415815 ]
        Hong Tang made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Affects Version/s 0.21.0 [ 12313563 ]
        Fix Version/s 0.21.0 [ 12313563 ]
        Hairong Kuang made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags [Reviewed]
        Resolution Fixed [ 1 ]
        Tom White made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Hong Tang
            Reporter:
            Hong Tang
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development