[ 
https://issues.apache.org/jira/browse/HDFS-13380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16430937#comment-16430937
 ] 

Hudson commented on HDFS-13380:
-------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #13944 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/13944/])
HDFS-13380. RBF: mv/rm fail after the directory exceeded the quota (inigoiri: 
rev e9b9f48dad5ebb58ee529f918723089e8356c480)
* (edit) 
hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router/RouterRpcServer.java
* (edit) 
hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/java/org/apache/hadoop/hdfs/server/federation/router/TestRouterQuota.java


> RBF: mv/rm fail after the directory exceeded the quota limit
> ------------------------------------------------------------
>
>                 Key: HDFS-13380
>                 URL: https://issues.apache.org/jira/browse/HDFS-13380
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Weiwei Wu
>            Assignee: Yiqun Lin
>            Priority: Major
>             Fix For: 2.10.0, 3.2.0, 3.0.4
>
>         Attachments: HDFS-13380.001.patch, HDFS-13380.002.patch
>
>
> It's always fail when I try to mv/rm a directory which have exceeded the 
> quota limit.
> {code:java}
> [hadp@hadoop]$ hdfs dfsrouteradmin -ls
> Mount Table Entries:
> Source Destinations Owner Group Mode Quota/Usage
> /ns10t ns10->/ns10t hadp hadp rwxr-xr-x [NsQuota: 1200/1201, SsQuota: -/-]
> [hadp@hadoop]$ hdfs dfs -rm hdfs://ns-fed/ns10t/ns1mountpoint/aaaaaaaaaa.99
> rm: Failed to move to trash: hdfs://ns-fed/ns10t/ns1mountpoint/aaaaaaaaaa.99: 
> The NameSpace quota (directories and files) is exceeded: quota=1200 file 
> count=1201
> [hadp@hadoop]$ hdfs dfs -rm -skipTrash 
> hdfs://ns-fed/ns10t/ns1mountpoint/aaaaaaaaaa.99
> rm: The NameSpace quota (directories and files) is exceeded: quota=1200 file 
> count=1201
> {code}
> I think we should add a parameter for the method *getLocationsForPath,* to 
> determine if we need to perform quota verification on the operation. For 
> example mv src directory parameter and rm directory parameter.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to