You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Siddhant Sangwan (Jira)" <ji...@apache.org> on 2022/05/20 11:14:00 UTC
[jira] [Created] (HDDS-6782) CodecFactory doesn't contain a codec for ByteString
Siddhant Sangwan created HDDS-6782:
--------------------------------------
Summary: CodecFactory doesn't contain a codec for ByteString
Key: HDDS-6782
URL: https://issues.apache.org/jira/browse/HDDS-6782
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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org