[
https://issues.apache.org/jira/browse/HDFS-13307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16407484#comment-16407484
]
Hudson commented on HDFS-13307:
-------------------------------
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #13862 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/13862/])
HDFS-13307. RBF: Improve the use of setQuota command. Contributed by (yqlin:
rev 69fe4407ebd885fed69d9cf7f4dd17d3ba1acb60)
* (edit)
hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/tools/federation/RouterAdmin.java
* (edit)
hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/java/org/apache/hadoop/hdfs/server/federation/router/TestRouterAdminCLI.java
> RBF: Improve the use of setQuota command
> ----------------------------------------
>
> Key: HDFS-13307
> URL: https://issues.apache.org/jira/browse/HDFS-13307
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Affects Versions: 3.0.0
> Reporter: liuhongtong
> Assignee: liuhongtong
> Priority: Major
> Fix For: 2.10.0, 3.2.0
>
> Attachments: HDFS-13307.001.patch, HDFS-13307.002.patch,
> HDFS-13307.003.patch, HDFS-13307.004.patch
>
>
> If hdfs dfsrouteradmin -setQuota only set one of -nsQuota and -ssQuota, the
> another one will be cleared.
> The following is the step:
> 1. set /test1 -nsQuota 400 -ssQuota 200
> hdfs dfsrouteradmin -setQuota /test1 -nsQuota 400 -ssQuota 200
> Successfully set quota for mount point /test1
> 2. after a moment, list /test1, everything is ok.
> hdfs dfsrouteradmin -ls /test1
> Source Destinations Owner
> Group Mode Quota/Usage
> /test1 ns1->/test1 hadp
> hadp rwxr-xr-x [NsQuota: 400/0, SsQuota:
> 200 B/0 B]
> 3. only set /test1 -nsQuota 600
> hdfs dfsrouteradmin -setQuota /test1 -nsQuota 600
> Successfully set quota for mount point /test1
> 4. after a moment, list /test1, now ssQuota has been cleared.
> hdfs dfsrouteradmin -ls /test1
> Source Destinations Owner
> Group Mode Quota/Usage
> /test1 ns1->/test1 hadp
> hadp rwxr-xr-x [NsQuota: 600/0, SsQuota:
> -/-]
> [^HDFS-13307.001.patch]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]