[ https://issues.apache.org/jira/browse/HBASE-7533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13556630#comment-13556630 ]
stack commented on HBASE-7533: ------------------------------ Currently in RPC, there is an ExceptionMessage used to carry exceptions. It has, as you'd expect, exception name and stack trace. What if we added opaque Map, a repeatable PairByteBytes, to ExceptionMessage. On serialization, we'd looks for a Dictionary marker Interface. If present, would serialize the content. Ditto on deserialize. Would not be evolvable. You would have to have a different key name if you wanted to change format. Its generic though. > Write an RPC Specification for 0.96 > ----------------------------------- > > Key: HBASE-7533 > URL: https://issues.apache.org/jira/browse/HBASE-7533 > Project: HBase > Issue Type: Bug > Reporter: stack > Assignee: stack > Fix For: 0.96.0 > > Attachments: 7533_proto_sketch.txt > > > RPC format is changing for 0.96 to accomodate our protobufing all around. > Here is a first cut. Please shred: > https://docs.google.com/document/d/1-1RJMLXzYldmHgKP7M7ynK6euRpucD03fZ603DlZfGI/edit -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira