Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-11045

Recon Decommissioning Info API throws NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.0
    • None

    Description

      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)

      Attachments

        Issue Links

          Activity

            People

              deveshsingh Devesh Kumar Singh
              deveshsingh Devesh Kumar Singh
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: