Currently with quota turned on, user cannot call '-rmr' on large directory that causes over quota.
[knoguchi src]$ hadoop dfs -rmr /tmp/net2 rmr: Failed to move to trash: hdfs://abc.def.com/tmp/net2 [knoguchi src]$ hadoop dfs -mv /tmp/net2 /user/knoguchi/.Trash/Current mv: org.apache.hadoop.hdfs.protocol.QuotaExceededException: The quota of /user/knoguchi is exceeded: namespace quota=37500 file count=37757, diskspace quota=-1 diskspace=1991250043353
Besides from error message being unfriendly, how should this be handled?
- is related to
HADOOP-8598 Server-side Trash