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

RawLocalFileSystem.append() should give FSDataOutputStream with accurate .getPos()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 2.8.0, 2.7.3, 2.6.5, 3.0.0-alpha1
    • fs
    • None
    • Reviewed

    Description

      When RawLocalFileSyste.append() is called it returns an FSDataOutputStream whose .getPos() returns 0.
      getPos() should return position in the file where appends will start writing.

      Attachments

        1. HADOOP-7817.patch
          4 kB
          Kristofer Tomasette
        2. HADOOP-7817-01.patch
          4 kB
          Kanaka Kumar Avvaru
        3. HADOOP-7817-02.patch
          3 kB
          Kanaka Kumar Avvaru
        4. HADOOP-7817-branch-2.6-committed.patch
          4 kB
          Vinayakumar B
        5. HADOOP-7817-branch-2.7-committed.patch
          4 kB
          Vinayakumar B

        Activity

          People

            kanaka Kanaka Kumar Avvaru
            ktomasette Kristofer Tomasette
            Votes:
            1 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified