Lisheng Sun created HDFS-14313:
----------------------------------
Summary: Get hdfs used space from FsDatasetImpl#volumeMap instead
of df/du
Key: HDFS-14313
URL: https://issues.apache.org/jira/browse/HDFS-14313
Project: Hadoop HDFS
Issue Type: Improvement
Components: datanode, performance
Affects Versions: 3.0.0-alpha1, 2.8.0
Reporter: Lisheng Sun
There are two ways of DU/DF getting used space that are insufficient.
# Running DU across lots of disks is very expensive and running all of the
processes at the same time creates a noticeable IO spike.
# Running DF is inaccurate when the disk sharing by multiple datanode or
other servers.
Getting hdfs used space from FsDatasetImpl#volumeMap is very small and
accurate.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]