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

Add ability to include Protobufs in ObjectWritable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.0
    • Fix Version/s: 0.23.0
    • Component/s: io, ipc
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Protocol buffer-generated types may now be used as arguments or return values for Hadoop RPC.

      Description

      Per HDFS-2060, it would make it easier to piecemeal switch to protocol buffer based data structures in the wire protocol if we could intermix the two. The IPC framework currently provides the concept of "engines" for RPC, but that doesn't easily allow mixed types within the same framework for ease of transition.

      I'd like to add the cases to ObjectWritable to be handle subclasses of Message, the superclass of codegenned protobufs.

        Attachments

        1. hadoop-7379.txt
          17 kB
          Todd Lipcon
        2. hadoop-7379.txt
          14 kB
          Todd Lipcon

          Issue Links

            Activity

              People

              • Assignee:
                tlipcon Todd Lipcon
                Reporter:
                tlipcon Todd Lipcon
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: