Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7263

Snapshot read can reveal future bytes for appended files.

    Details

    • Target Version/s:

      Description

      The following sequence of steps will produce extra bytes, that should not be visible, because they are not in the snapshot.

      • Create a file of size L, where L % blockSize != 0.
      • Create a snapshot
      • Append bytes to the file
      • Read file in the snapshot (not the current file)
      • You will see the bytes are read beoynd the original file size L

        Attachments

        1. HDFS-7263.patch
          5 kB
          Tao Luo
        2. HDFS-7263.patch
          5 kB
          Tao Luo
        3. HDFS-7263.patch
          4 kB
          Tao Luo
        4. TestSnapshotRead.java
          3 kB
          Konstantin Shvachko

          Issue Links

            Activity

              People

              • Assignee:
                taoluo Tao Luo
                Reporter:
                shv Konstantin Shvachko
              • Votes:
                0 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: