Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-4508

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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.

        Attachments

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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: