hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "genericqa (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-13307) RBF: Fix setQuota bug
Date Tue, 20 Mar 2018 06:11:00 GMT

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

genericqa commented on HDFS-13307:
----------------------------------

| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue}  0m  0s{color} | {color:blue}
Docker mode activated. {color} |
| {color:red}-1{color} | {color:red} patch {color} | {color:red}  0m  5s{color} | {color:red}
HDFS-13307 does not apply to trunk. Rebase required? Wrong Branch? See https://wiki.apache.org/hadoop/HowToContribute
for help. {color} |
\\
\\
|| Subsystem || Report/Notes ||
| JIRA Issue | HDFS-13307 |
| JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12915262/HDFS-13307.002.patch
|
| Console output | https://builds.apache.org/job/PreCommit-HDFS-Build/23555/console |
| Powered by | Apache Yetus 0.8.0-SNAPSHOT   http://yetus.apache.org |


This message was automatically generated.



> RBF: Fix setQuota bug
> ---------------------
>
>                 Key: HDFS-13307
>                 URL: https://issues.apache.org/jira/browse/HDFS-13307
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: liuhongtong
>            Assignee: liuhongtong
>            Priority: Major
>         Attachments: HDFS-13307.001.patch, HDFS-13307.002.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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message