You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2020/12/14 03:58:48 UTC
[GitHub] [ozone] amaliujia commented on a change in pull request #1696: HDDS-4582 Update `quota in counts` to `quota in namespace`
amaliujia commented on a change in pull request #1696:
URL: https://github.com/apache/ozone/pull/1696#discussion_r542095753
##########
File path: hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/shell/SetSpaceQuotaOptions.java
##########
@@ -32,14 +32,14 @@
@CommandLine.Option(names = {"--count-quota"},
description = "For volume this parameter represents the number of " +
Review comment:
Good point!
##########
File path: hadoop-ozone/dist/src/main/smoketest/basic/ozone-shell-lib.robot
##########
@@ -48,12 +48,12 @@ Test ozone shell
Should Be Equal ${result} DISK
${result} = Execute ozone sh bucket info ${protocol}${server}/${volume}/bb1 | jq -r '. | select(.name=="bb1") | .quotaInBytes'
Should Be Equal ${result} 10995116277760
- ${result} = Execute ozone sh bucket info ${protocol}${server}/${volume}/bb1 | jq -r '. | select(.name=="bb1") | .quotaInCounts'
+ ${result} = Execute ozone sh bucket info ${protocol}${server}/${volume}/bb1 | jq -r '. | select(.name=="bb1") | .quotaInNamespace'
Should Be Equal ${result} 100
Execute ozone sh bucket setquota ${protocol}${server}/${volume}/bb1 --space-quota 1TB --count-quota 1000
Review comment:
Done!
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org