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

NameNode implementation of ClientProtocol.truncate(..) is not idempotent

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.7.0
    • namenode
    • None
    • Reviewed

    Description

      If dfsclient drops the first response of a truncate RPC call, the retry by retry cache will fail with "DFSClient ... is already the current lease holder". The truncate RPC is annotated as @Idempotent in ClientProtocol but the NameNode implementation is not.

      Attachments

        1. h7926_20150313.patch
          2 kB
          Tsz-wo Sze
        2. h7926_20150313b.patch
          3 kB
          Tsz-wo Sze

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: