Devesh Kumar Singh created HDDS-11045:
-----------------------------------------
Summary: Recon Decommissioning Info API throws NPE
Key: HDDS-11045
URL: https://issues.apache.org/jira/browse/HDDS-11045
Project: Apache Ozone
Issue Type: Bug
Reporter: Devesh Kumar Singh
Assignee: Devesh Kumar Singh
{code:java}
2024-06-21 11:05:42 Caused by: java.lang.NullPointerException: Cannot invoke
"com.fasterxml.jackson.databind.JsonNode.asText()" because the return value of
"com.fasterxml.jackson.databind.JsonNode.get(String)" is null
2024-06-21 11:05:42 at
org.apache.hadoop.hdds.client.DecommissionUtils.getCountsMap(DecommissionUtils.java:129)
2024-06-21 11:05:42 at
org.apache.hadoop.ozone.recon.api.NodeEndpoint.getCounts(NodeEndpoint.java:422)
2024-06-21 11:05:42 at
org.apache.hadoop.ozone.recon.api.NodeEndpoint.getDecommissioningNodesDetails(NodeEndpoint.java:411)
2024-06-21 11:05:42 at
org.apache.hadoop.ozone.recon.api.NodeEndpoint.getDecommissionStatusResponse(NodeEndpoint.java:390)
2024-06-21 11:05:42 at
org.apache.hadoop.ozone.recon.api.NodeEndpoint.getDatanodesDecommissionInfo(NodeEndpoint.java:348){code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]