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

Hudson commented on HDFS-10242:
-------------------------------

ABORTED: Integrated in Hadoop-trunk-Commit #9788 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/9788/])
HDFS-10242. Cannot create space quota of zero. Contributed by Takashi 
(aajisaka: rev 9fe5828f05accc6746cb08a43916f7557dac533a)
* 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/QuotaUsage.java
* 
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestQuota.java
* 
hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSClient.java


> Cannot create space quota of zero
> ---------------------------------
>
>                 Key: HDFS-10242
>                 URL: https://issues.apache.org/jira/browse/HDFS-10242
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: documentation, fs
>    Affects Versions: 3.0.0-alpha1
>            Reporter: Takashi Ohnishi
>            Assignee: Takashi Ohnishi
>             Fix For: 2.8.0
>
>         Attachments: HDFS-10242.1.patch
>
>
> The `HDFS Quotas Guide` says
> {noformat}
> A quota of zero still permits files to be created, but no blocks can be added 
> to the files.
> {noformat}
> But, this acutally is not so. When I tried,  dfsadmin command failed with the 
> below message.
> {noformat}
> $ hdfs dfsadmin -setSpaceQuota 0 /user/alice/dirWithSpaceQuota
> setSpaceQuota: Invalid values for quota : 9223372036854775807 and 0
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to