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

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development