apurtell commented on a change in pull request #2261:
URL: https://github.com/apache/hbase/pull/2261#discussion_r477627879



##########
File path: hbase-protocol-shaded/src/main/protobuf/server/master/Master.proto
##########
@@ -693,6 +694,14 @@ message SwitchExceedThrottleQuotaResponse {
   required bool previous_exceed_throttle_quota_enabled = 1;
 }
 
+message BalancerDecisionsRequest {

Review comment:
       Not impossible at all.
   
   getRingEntries RPC in RS RPC servcies
   
   getRingEntries RPC in master RPC services
   
   > we can't achieve abstraction since protobuf doesn't support is-a 
relationship among proto messages.
   
   You have an outer message type that is a class name and a byte string, and 
the inner protobuf is stuffed into the byte string while the class name is set 
to the type you need to use to deserialize. 
   
   Otherwise you have made moot any work toward making things generic, there 
will be new message types and RPC methods for every ring. 




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to