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

Lease holder information should be passed in ClientProtocol.abandonBlock(...)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.15.0
    • 0.16.0
    • None
    • None

    Description

      Logically, only the lease holder can do abandonBlock(...). However, since the file is visible to the other clients once it has been created. It is possible for the other client to obtain block information for a file which is being created (i.e. not called complete(String, String) yet). Then, they can do abandonBlock(...) with the obtained block information.

      I suggest to add lease holder information as a parameter in abandonBlock(...). So that we can make sure only the lease holder can do abandonBlock(...).

      Attachments

        1. 2401_20071211.patch
          8 kB
          Tsz-wo Sze
        2. 2401_20071210c.patch
          10 kB
          Tsz-wo Sze

        Activity

          People

            szetszwo Tsz-wo Sze
            szetszwo Tsz-wo Sze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: