Hadoop Common
  1. Hadoop Common
  2. HADOOP-7379

Add ability to include Protobufs in ObjectWritable

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major 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.

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

        Issue Links

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development