[ https://issues.apache.org/jira/browse/HDDS-1176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16778967#comment-16778967 ]
Xiaoyu Yao commented on HDDS-1176: ---------------------------------- I think it is the CodecRegistry not flexible to handle Typed data with class, subclass hierarchy. Here the class is registered with the CodecRegistry but the subclass is passed in to serialize/deserialize where getClass() return only the subclass. Post a simple patch allow subclass using base class registry for serialization/deserialization. > Fix storage of certificate in scm db > ------------------------------------ > > Key: HDDS-1176 > URL: https://issues.apache.org/jira/browse/HDDS-1176 > Project: Hadoop Distributed Data Store > Issue Type: Sub-task > Reporter: Ajay Kumar > Assignee: Xiaoyu Yao > Priority: Major > > put operation in {{SCMCertStore}} is failing due to unregistered codec > format. Either we can add new codec format or put pem encoded cert. Second > option is more preferable i think as every where else we are using pem > encoded string. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org