[
https://issues.apache.org/jira/browse/HDFS-7957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shen Yinjie updated HDFS-7957:
--
Assignee: Jing Zhao (was: Shen Yinjie)
> Truncate should verify quota before making changes
> --
[
https://issues.apache.org/jira/browse/HDFS-7957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jing Zhao updated HDFS-7957:
Resolution: Fixed
Fix Version/s: 2.7.0
Status: Resolved (was: Patch Available)
Thanks agai
[
https://issues.apache.org/jira/browse/HDFS-7957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz Wo Nicholas Sze updated HDFS-7957:
--
Hadoop Flags: Reviewed
+1 the new patch looks good. Thanks a lot!
> Truncate should ver
[
https://issues.apache.org/jira/browse/HDFS-7957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jing Zhao updated HDFS-7957:
Attachment: HDFS-7957.002.patch
Thanks for the review, Nicholas! Yes, you're right. Update the patch to addre
[
https://issues.apache.org/jira/browse/HDFS-7957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jing Zhao updated HDFS-7957:
Attachment: HDFS-7957.001.patch
Update the calculation to fix the failed test. Also add new tests.
> Truncat
[
https://issues.apache.org/jira/browse/HDFS-7957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jing Zhao updated HDFS-7957:
Status: Patch Available (was: Open)
> Truncate should verify quota before making changes
> -
[
https://issues.apache.org/jira/browse/HDFS-7957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jing Zhao updated HDFS-7957:
Attachment: HDFS-7957.000.patch
Initial patch. The quota change computation is a little bit complicated, stil