[
https://issues.apache.org/jira/browse/HDDS-14621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Priyesh K updated HDDS-14621:
-----------------------------
Description:
The {color:#505f79}*/clusterState*{color} API in Recon is not populating all
the fields defined in DatanodeStorageReport. Currently, it sets only the
following values:
* capacity
* committed
* used
* minimumFreeSpace
* remaining
However, DatanodeStorageReport contains additional fields:
* datanodeUuid
* hostName
* reserved
* filesystemCapacity
* filesystemUsed
* filesystemAvailable
Since these fields are not being set, they are currently returned as default
values (e.g., 0 or null) in the API response.
So we have to update API, openapi yaml file and doc according to this.
was:
The `/clusterState` API in Recon is not populating all the fields defined in
DatanodeStorageReport. Currently, it sets only the following values:
* capacity
* committed
* used
* minimumFreeSpace
* remaining
However, DatanodeStorageReport contains additional fields:
* datanodeUuid
* hostName
* reserved
* filesystemCapacity
* filesystemUsed
* filesystemAvailable
Since these fields are not being set, they are currently returned as default
values (e.g., 0 or null) in the API response.
So we have to update API, openapi yaml file and doc according to this.
> Populate Missing Fields in /clusterState DatanodeStorageReport
> --------------------------------------------------------------
>
> Key: HDDS-14621
> URL: https://issues.apache.org/jira/browse/HDDS-14621
> Project: Apache Ozone
> Issue Type: Bug
> Components: Ozone Recon
> Reporter: Priyesh K
> Assignee: Priyesh K
> Priority: Major
>
> The {color:#505f79}*/clusterState*{color} API in Recon is not populating all
> the fields defined in DatanodeStorageReport. Currently, it sets only the
> following values:
> * capacity
> * committed
> * used
> * minimumFreeSpace
> * remaining
> However, DatanodeStorageReport contains additional fields:
> * datanodeUuid
> * hostName
> * reserved
> * filesystemCapacity
> * filesystemUsed
> * filesystemAvailable
> Since these fields are not being set, they are currently returned as default
> values (e.g., 0 or null) in the API response.
> So we have to update API, openapi yaml file and doc according to this.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]