diff --git a/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/v2/components/duMetadata/duMetadata.tsx b/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/v2/components/duMetadata/duMetadata.tsx index b5dc002c1fc9..609b768aec5f 100644 --- a/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/v2/components/duMetadata/duMetadata.tsx +++ b/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/v2/components/duMetadata/duMetadata.tsx @@ -201,7 +201,7 @@ const DUMetadata: React.FC = ({ if (objectInfo?.quotaInNamespace !== undefined && objectInfo?.quotaInNamespace !== -1) { data.push({ key: 'Quota In Namespace', - value: byteToSize(objectInfo.quotaInNamespace, 3) + value: objectInfo.quotaInNamespace }); } @@ -380,4 +380,4 @@ const DUMetadata: React.FC = ({ ); } -export default DUMetadata; \ No newline at end of file +export default DUMetadata; diff --git a/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/views/diskUsage/diskUsage.tsx b/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/views/diskUsage/diskUsage.tsx index 43cc7f69e3cb..19f4972c66ca 100644 --- a/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/views/diskUsage/diskUsage.tsx +++ b/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/views/diskUsage/diskUsage.tsx @@ -428,7 +428,7 @@ export class DiskUsage extends React.Component, IDUState> if (summaryResponse.objectInfo?.quotaInNamespace !== undefined && summaryResponse.objectInfo?.quotaInNamespace !== -1) { keys.push('Quota In Namespace'); - values.push(byteToSize(summaryResponse.objectInfo.quotaInNamespace, 3)); + values.push(summaryResponse.objectInfo.quotaInNamespace); } if (summaryResponse.objectInfo?.replicationConfig?.replicationFactor !== undefined && summaryResponse.objectInfo?.replicationConfig?.replicationFactor !== -1) {