Siddhant Sangwan created HDDS-6781:
--------------------------------------
Summary: CodecFactory doesn't contain a codec for ByteString
Key: HDDS-6781
URL: https://issues.apache.org/jira/browse/HDDS-6781
Project: Apache Ozone
Issue Type: Bug
Components: SCM
Reporter: Siddhant Sangwan
Assignee: Siddhant Sangwan
Saw the following stack trace:
{noformat}
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)
{noformat}
ByteStringCodec has not been added to the CodecFactory, leading to this error.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]