XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.0-beta, 3.0.0-alpha1
    • Fix Version/s: 2.1.0-beta
    • Component/s: snapshots, test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Here is a test idea from Suresh:

      • A file was length x at the time of snapshot (say s1) creation
      • Later y bytes get added to the file through append

      When client gets block locations for the file from snapshot s1, the length it know is x. We should make sure it cannot read beyond length x.

        Attachments

        1. HDFS-4875.002.patch
          4 kB
          Arpit Agarwal
        2. HDFS-4875.001.patch
          4 kB
          Arpit Agarwal

          Activity

            People

            • Assignee:
              arp Arpit Agarwal
              Reporter:
              szetszwo Tsz-wo Sze
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: