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

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

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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. appendGetPos.patch
          4 kB
          Dhruba Borthakur
        2. appendGetPos2.patch
          4 kB
          Dhruba Borthakur
        3. appendGetPos3.patch
          4 kB
          Dhruba Borthakur
        4. HADOOP-4508.txt
          0.7 kB
          Pete Wyckoff

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment