Description
Currently all the Ozone/HDFS/Cblock proto files are compiled using proto 2.5, this can be changed to use proto3 compiler.
This change will help in performance improvement as well because currently in the client path, the xceiver client ratis converts proto2 classes to proto3 using byte string manipulation.
Please note that for rest of hadoop (except Ozone/Cblock/HDSL), the protoc version will still remain 2.5 as this proto compilation will be done through the following plugin.
https://www.xolstice.org/protobuf-maven-plugin/