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

Add ability to include Protobufs in ObjectWritable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.23.0
    • 0.23.0
    • io, ipc
    • None
    • Reviewed
    • 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
          14 kB
          Todd Lipcon
        2. hadoop-7379.txt
          17 kB
          Todd Lipcon

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: