Hadoop Common
  1. Hadoop Common
  2. HADOOP-4508

FSDataOutputStream.getPos() == 0when appending to existing file and should be file length

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.19.0, 0.20.0
    • Fix Version/s: 0.19.1
    • Component/s: fs
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      does not seem getPos is set correctly when opening an existing file with non-zero length in append mode.

      1. HADOOP-4508.txt
        0.7 kB
        Pete Wyckoff
      2. appendGetPos.patch
        4 kB
        dhruba borthakur
      3. appendGetPos2.patch
        4 kB
        dhruba borthakur
      4. appendGetPos3.patch
        4 kB
        dhruba borthakur

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              dhruba borthakur
              Reporter:
              Pete Wyckoff
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development