Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-4949 Centralized cache management in HDFS
  3. HDFS-5385

Caching RPCs are AtMostOnce, but do not persist client ID and call ID to edit log.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • HDFS-4949
    • HDFS-4949
    • namenode
    • None

    Description

      All of the new caching RPCs defined on ClientProtocol are annotated @AtMostOnce. However, their underlying edit log operations do not persist the RPC client ID and call ID. In the event of an HA failover, the new primary will not be able to guarantee at-most-once semantics if the clients retry.

      Attachments

        1. HDFS-5385.1.patch
          22 kB
          Chris Nauroth

        Issue Links

          Activity

            People

              cnauroth Chris Nauroth
              cnauroth Chris Nauroth
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: