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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.19.0, 0.20.0
    • 0.19.1
    • fs
    • None
    • 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. appendGetPos.patch
          4 kB
          Dhruba Borthakur
        3. appendGetPos2.patch
          4 kB
          Dhruba Borthakur
        4. appendGetPos3.patch
          4 kB
          Dhruba Borthakur

        Issue Links

          Activity

            People

              dhruba Dhruba Borthakur
              wyckoff Pete Wyckoff
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: