[ https://issues.apache.org/jira/browse/HBASE-7533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13555870#comment-13555870 ]
Elliott Clark commented on HBASE-7533: -------------------------------------- We could still go the route of bytes in a single message. That seems like it would hold with the exceptions problem as well something like {code} message StringBasedException { required string exceptionClass = 1; optional string stack = 2; } message RegionMovedException { required ServerName serverName = 1; optional int64 openSeqNum = 2; } message Response { optional bytes responseBody = 1; // builder is infered from method called //if the response has extra data put it here. optional ECDMeta ecdMetaDate = 2; optional string exceptionMessageType = 3; //use the string to get the builder. optional bytes exceptionBody = 4; } {code} > 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