Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.7.1
-
None
-
Reviewed
Description
When setReplication, the FSDirectory#updateCount need calculate the related storageTypes quota,but will check the file consume the ds quota is positive.
Actually,it's may set replication after create file,like JobSplitWriter#createSplitFiles.
It's also can reproduce on command shell:
1. hdfs storagepolicies -setStoragePolicy -path /tmp -policy HOT
2. hdfs dfs -touchz /tmp/test
3. hdfs dfs -setrep 5 /tmp/test
Attachments
Attachments
Issue Links
- duplicates
-
HDFS-10806 Mapreduce jobs fail when StoragePolicy is set
- Resolved