Description
Saw the following stack trace:
com.google.protobuf.InvalidProtocolBufferException: Codec for class com.google.protobuf.LiteralByteString not found! at org.apache.hadoop.hdds.scm.ha.io.CodecFactory.getCodec(CodecFactory.java:63) at org.apache.hadoop.hdds.scm.ha.SCMRatisRequest.encode(SCMRatisRequest.java:111) at org.apache.hadoop.hdds.scm.ha.SCMRatisServerImpl.submitRequest(SCMRatisServerImpl.java:213) at org.apache.hadoop.hdds.scm.ha.SCMHAInvocationHandler.invokeRatis(SCMHAInvocationHandler.java:111) at org.apache.hadoop.hdds.scm.ha.SCMHAInvocationHandler.invoke(SCMHAInvocationHandler.java:67) at com.sun.proxy.$Proxy27.saveConfiguration(Unknown Source) at org.apache.hadoop.hdds.scm.ha.StatefulService.saveConfiguration(StatefulService.java:52) at org.apache.hadoop.hdds.scm.container.balancer.ContainerBalancer.setBalancerConfigOnStartBalancer(ContainerBalancer.java:1174) at org.apache.hadoop.hdds.scm.container.balancer.ContainerBalancer.startBalancer(ContainerBalancer.java:992)
ByteStringCodec has not been added to the CodecFactory, leading to this error.