[
https://issues.apache.org/jira/browse/HDDS-1101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16777243#comment-16777243
]
Ajay Kumar commented on HDDS-1101:
----------------------------------
[~anu] seems put operation is failing due to unregistered codec format. Either
we can add new codec format or put pem encoded cert.
{code}
java.lang.IllegalStateException: Codec is not registered for type: class
sun.security.x509.X509CertImpl
at
org.apache.hadoop.utils.db.CodecRegistry.asRawData(CodecRegistry.java:74)
at org.apache.hadoop.utils.db.TypedTable.put(TypedTable.java:55)
at
org.apache.hadoop.hdds.scm.server.SCMCertStore.storeValidCertificate(SCMCertStore.java:58)
at
org.apache.hadoop.hdds.security.x509.certificate.authority.DefaultCAServer.requestCertificate(DefaultCAServer.java:231)
at
org.apache.hadoop.hdds.security.x509.certificate.authority.DefaultCAServer.requestCertificate(DefaultCAServer.java:250)
at
org.apache.hadoop.hdds.scm.server.SCMSecurityProtocolServer.getOMCertificate(SCMSecurityProtocolServer.java:131)
at
org.apache.hadoop.hdds.protocolPB.SCMSecurityProtocolServerSideTranslatorPB.getOMCertificate(SCMSecurityProtocolServerSideTranslatorPB.java:84)
at
org.apache.hadoop.hdds.protocol.proto.SCMSecurityProtocolProtos$SCMSecurityProtocolService$2.callBlockingMethod(SCMSecurityProtocolProtos.java:3273)
at
org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:524)
at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:1025)
at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:876)
at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:822)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:422)
at
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1730)
at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2682){code}
> SCM CA: Write Certificate information to SCM Metadata
> -----------------------------------------------------
>
> Key: HDDS-1101
> URL: https://issues.apache.org/jira/browse/HDDS-1101
> Project: Hadoop Distributed Data Store
> Issue Type: Sub-task
> Components: SCM
> Reporter: Anu Engineer
> Assignee: Anu Engineer
> Priority: Major
> Fix For: 0.4.0
>
> Attachments: HDDS-1101.000.patch, HDDS-1101.001.patch
>
>
> Make SCM CA write to the Metadata layer of SCM.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]