liaoyuxiangqin created HDFS-13093: ------------------------------------- Summary: Quota set don't compute usage of unspecified storage policy content Key: HDFS-13093 URL: https://issues.apache.org/jira/browse/HDFS-13093 Project: Hadoop HDFS Issue Type: Bug Components: namenode Affects Versions: 3.1.0 Environment: hdfs: hadoop-3.1.0-SNAPSHOT
node:1 namenode, 9 datanodes Reporter: liaoyuxiangqin test as following steps: 1. hdfs dfs -mkdir /hot 2. hdfs dfs -put 1G.img /hot/file1 3. hdfs dfsadmin -setSpaceQuota 6442450944 -storageType DISK /hot 4. hdfs storagepolicies -setStoragePolicy -path /hot -policy HOT 5. hdfs dfs -count -q -h -v -t DISK /hot {code:java} SSD_QUOTA REM_SSD_QUOTA DISK_QUOTA REM_DISK_QUOTA ARCHIVE_QUOTA REM_ARCHIVE_QUOTA PROVIDED_QUOTA REM_PROVIDED_QUOTA PATHNAME none inf 6 G 6 G none inf none inf /hot{code} In step5 i speculation the remaining quota is 3G(quota - 1G*3 replicas ),but 6G actually. if i change the turn of step3 and step4, then the remaining quota equal to what I think 3G. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org