danie deng created HDFS-9625:
--------------------------------

             Summary: set replication for empty file  failed when set storage 
policy
                 Key: HDFS-9625
                 URL: https://issues.apache.org/jira/browse/HDFS-9625
             Project: Hadoop HDFS
          Issue Type: Bug
    Affects Versions: 2.7.1
            Reporter: danie deng


     When setReplication, the FSDirectory#updateCount need calculate the 
lelated 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.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to