You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "devabhishekpal (via GitHub)" <gi...@apache.org> on 2026/02/06 06:05:03 UTC

Re: [PR] HDDS-14555. [Recon] Clarify Open Key Bytes breakdown in Cluster Capacity page [ozone]

devabhishekpal commented on code in PR #9705:
URL: https://github.com/apache/ozone/pull/9705#discussion_r2772476103


##########
hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/v2/pages/capacity/capacity.tsx:
##########
@@ -61,7 +61,12 @@ const Capacity: React.FC<object> = () => {
     CONSTANTS.DEFAULT_CAPACITY_UTILIZATION,
     {
       retryAttempts: 2,
-      onError: (error) => showDataFetchError(error)
+      onError: (error) => showDataFetchError(error),
+      onSuccess: (data) => {
+        console.log('Storage Distribution API Response:', data);
+        console.log('usedSpaceBreakdown:', data.usedSpaceBreakdown);
+        console.log('openKeyBytes:', data.usedSpaceBreakdown?.openKeyBytes);
+      }

Review Comment:
   Is the console.log() required here?
   I think we can remove it if it was used for testing out changes



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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