tongshiquan created HDFS-8476:
---------------------------------
Summary: quota can't limit the file which put before setting the
storage policy
Key: HDFS-8476
URL: https://issues.apache.org/jira/browse/HDFS-8476
Project: Hadoop HDFS
Issue Type: Bug
Components: HDFS
Affects Versions: 2.7.0
Reporter: tongshiquan
Priority: Minor
1. hdfs dfs -mkdir /HOT
2. hdfs dfs -put 1G.txt /HOT/file1
3. hdfs dfsadmin -setSpaceQuota 6442450944 -storageType DISK /HOT
4. hdfs storagepolicies -setStoragePolicy -path /HOT -policy HOT
5. hdfs dfs -put 1G.txt /HOT/file2
6. hdfs dfs -put 1G.txt /HOT/file3
7. hdfs dfs -count -q -h -v -t DISK /HOT
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)