Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-265 Revisit append
  3. HDFS-570

When opening a file for read, make the file length avaliable to client.

    Details

    • Type: Sub-task Sub-task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Append Branch
    • Fix Version/s: Append Branch
    • Component/s: hdfs-client
    • Labels:
      None
    • Hadoop Flags:
      Incompatible change, Reviewed
    • Release Note:
      In order to support read consistency, get last block length from a data-node when opening a file being written to.

      Description

      In order to support read consistency, DFSClient needs the file length at the file opening time. In the current implmentation, DFSClient obtains the file length at the file opening time but the length is inaccurate if the file is being written.

      For more details, see Section 4 in the append design doc.

      1. h570_20090828.patch
        25 kB
        Tsz Wo Nicholas Sze
      2. h570_20090922.patch
        15 kB
        Tsz Wo Nicholas Sze
      3. h570_20090924.patch
        17 kB
        Tsz Wo Nicholas Sze
      4. h570_20090925.patch
        23 kB
        Tsz Wo Nicholas Sze
      5. h570_20090925b.patch
        25 kB
        Tsz Wo Nicholas Sze
      6. h570_20090925c.patch
        27 kB
        Tsz Wo Nicholas Sze
      7. h570_20090926.patch
        26 kB
        Konstantin Shvachko
      8. h570_20090926.patch
        26 kB
        Konstantin Shvachko

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Tsz Wo Nicholas Sze
              Reporter:
              Tsz Wo Nicholas Sze
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development