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

CodecFactory doesn't contain a codec for ByteString

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment