Avro
  1. Avro
  2. AVRO-722

IPC Request Metadata written for transmission before processing by plugins

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5.0
    • Fix Version/s: 1.5.0
    • Component/s: java
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      There is a small issue with the processing order of request metadata in an IPC call. The map is written for transmission before the context is passed to plugins for processing and as a result any changes that client plugins make to the metadata will not get transferred as the empty map has already been written.

      Also when the response metadata is read back in it is mistakenly read into the context's request metadata instead of the response metadata. The attached patch has fixes for both of these issues.

      1. rpc-plugin.patch
        4 kB
        Stephen Gargan
      2. rpc-plugin.patch
        4 kB
        Stephen Gargan
      3. AVRO-722.patch
        5 kB
        Doug Cutting

        Activity

        Doug Cutting made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Doug Cutting made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Doug Cutting made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Hadoop Flags [Reviewed]
        Doug Cutting made changes -
        Attachment AVRO-722.patch [ 12467476 ]
        Stephen Gargan made changes -
        Attachment rpc-plugin.patch [ 12467373 ]
        Doug Cutting made changes -
        Assignee Stephen Gargan [ sgargan ]
        Stephen Gargan made changes -
        Field Original Value New Value
        Attachment rpc-plugin.patch [ 12467145 ]
        Stephen Gargan created issue -

          People

          • Assignee:
            Stephen Gargan
            Reporter:
            Stephen Gargan
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development