sarvekshayr opened a new pull request, #9586:
URL: https://github.com/apache/ozone/pull/9586

   ## What changes were proposed in this pull request?
   [HDDS-11120](https://issues.apache.org/jira/browse/HDDS-11120) (PR 
[#6911](https://github.com/apache/ozone/pull/6911)) introduced a rich 
rebalancing status info.
   
   This change causes a compatibility issue when an older server (without this 
change) is used alongside a newer client (with this change) because protobuf 
enum value (Type.GetContainerBalancerStatusInfo = 44) does not exist in the 
older server and fails with Message missing required fields: cmdType error.
   
   ```
   ozone admin containerbalancer status 
   
   INFO retry.RetryInvocationHandler: com.google.protobuf.ServiceException: 
org.apache.hadoop.ipc.RemoteException(com.google.protobuf.InvalidProtocolBufferException):
 Message missing required fields: cmdType
   at 
com.google.protobuf.UninitializedMessageException.asInvalidProtocolBufferException(UninitializedMessageException.java:81)
   at 
com.google.protobuf.AbstractParser.checkMessageInitialized(AbstractParser.java:71)
   at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:89)
   at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:95)
   at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:49)
   at 
org.apache.hadoop.ipc.RpcWritable$ProtobufWrapper.readFrom(RpcWritable.java:125)
   at org.apache.hadoop.ipc.RpcWritable$Buffer.getValue(RpcWritable.java:187)
   at 
org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:525)
   at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:1070)
   at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:995)
   at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:923)
   at 
java.base/java.security.AccessController.doPrivileged(AccessController.java:712)
   at java.base/javax.security.auth.Subject.doAs(Subject.java:439)
   at 
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1910)
   at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2905)
   , while invoking $Proxy18.submitRequest over 
nodeId=node1,nodeAddress=ccycloud-1.quasar-yvyafo.root.comops.site/10.140.178.0:9860
 after 3 failover attempts. Trying to failover after sleeping for 2000ms.
   ```
   
   ## What is the link to the Apache JIRA
   [HDDS-14335](https://issues.apache.org/jira/browse/HDDS-14335)
   
   ## How was this patch tested?
   acceptance (compat-old) CI: 
https://github.com/sarvekshayr/ozone/actions/runs/20707622585/job/59441789415
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to