Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-6782

CodecFactory doesn't contain a codec for ByteString

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Duplicate
    • None
    • None
    • SCM
    • None

    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.

      Attachments

        Issue Links

          Activity

            People

              siddhant Siddhant Sangwan
              siddhant Siddhant Sangwan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: