diff --git a/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/components/overviewCard/overviewCard.tsx b/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/components/overviewCard/overviewCard.tsx index 977eddb9811..048f95d57eb 100644 --- a/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/components/overviewCard/overviewCard.tsx +++ b/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/components/overviewCard/overviewCard.tsx @@ -154,7 +154,12 @@ class OverviewCard extends React.Component {
{meta}
- +
); diff --git a/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/v2/components/overviewCard/overviewStorageCard.tsx b/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/v2/components/overviewCard/overviewStorageCard.tsx index d6e29a2f968..0c2cbd5d804 100644 --- a/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/v2/components/overviewCard/overviewStorageCard.tsx +++ b/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/v2/components/overviewCard/overviewStorageCard.tsx @@ -44,7 +44,7 @@ function getUsagePercentages( ozoneUsedPercentage: Math.floor(used / capacity * 100), nonOzoneUsedPercentage: Math.floor((capacity - remaining - used) / capacity * 100), committedPercentage: Math.floor(committed / capacity * 100), - usagePercentage: Math.floor((capacity - remaining) / capacity * 100) + usagePercentage: Math.round((capacity - remaining) / capacity * 100) } }