You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Lisheng Sun (JIRA)" <ji...@apache.org> on 2019/02/23 05:49:00 UTC

[jira] [Created] (HDFS-14313) Get hdfs used space from FsDatasetImpl#volumeMap instead of df/du

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: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org