You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/07/09 10:08:00 UTC

[jira] [Updated] (HDDS-5421) SCM throws NPE during JMX call

     [ https://issues.apache.org/jira/browse/HDDS-5421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated HDDS-5421:
---------------------------------
    Labels: pull-request-available  (was: )

> SCM throws NPE during JMX call
> ------------------------------
>
>                 Key: HDDS-5421
>                 URL: https://issues.apache.org/jira/browse/HDDS-5421
>             Project: Apache Ozone
>          Issue Type: Bug
>          Components: SCM
>            Reporter: Nanda kumar
>            Assignee: Nilotpal Nandi
>            Priority: Major
>              Labels: pull-request-available
>
> Whenever there is a JMX call to SCM, there is an NPE in SCM log file.
> JMX call invokesĀ _StorageContainerManager#getScmRatisRoles_
> {code:java}
>   @Override
>   public String getScmRatisRoles() throws IOException {
>     return HddsUtils.format(getScmHAManager().getRatisServer().getRatisRoles());
>   }
> {code}
> When in NON-HA mode the below call is returning null, causing NPE during JMX call.
> {code:java}
> SCMHAManager#getRatisServer(){code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org