[
https://issues.apache.org/jira/browse/HDDS-6756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Neil Joshi updated HDDS-6756:
-----------------------------
Description:
When RpcClient is instantiated, it runs a ServiceInfo OmRequest. From the
ServiceInfo the RpcClient sets the certificates used by the
xceiverClientManager for the input streams. Should the certificates returned
by the ServiceInfo OmRequest be empty, currently it results in a NPE. This
Jira is to address this NPE condition.
First uncovered in PR #2945.
https://github.com/apache/ozone/pull/2945#discussion_r834752393
was:When RpcClient is instantiated, it runs a ServiceInfo OmRequest. From
the ServiceInfo the RpcClient sets the certificates used by the
xceiverClientManager for the input streams. Should the certificates returned
by the ServiceInfo OmRequest be empty, currently it results in a NPE. This
Jira is to address this NPE condition.
> NPE raised by RpcClient if ServiceInfo certificates empty
> ----------------------------------------------------------
>
> Key: HDDS-6756
> URL: https://issues.apache.org/jira/browse/HDDS-6756
> Project: Apache Ozone
> Issue Type: Bug
> Reporter: Neil Joshi
> Assignee: Neil Joshi
> Priority: Major
>
> When RpcClient is instantiated, it runs a ServiceInfo OmRequest. From the
> ServiceInfo the RpcClient sets the certificates used by the
> xceiverClientManager for the input streams. Should the certificates returned
> by the ServiceInfo OmRequest be empty, currently it results in a NPE. This
> Jira is to address this NPE condition.
>
> First uncovered in PR #2945.
> https://github.com/apache/ozone/pull/2945#discussion_r834752393
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]