You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Takashi Ohnishi (JIRA)" <ji...@apache.org> on 2016/04/01 08:40:25 UTC

[jira] [Updated] (HDFS-10242) Space Quota of zero behaves different from documentation.

     [ https://issues.apache.org/jira/browse/HDFS-10242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Takashi Ohnishi updated HDFS-10242:
-----------------------------------
    Attachment: HDFS-10242.1.patch

Attached patch.

> Space Quota of zero behaves different from documentation.
> ---------------------------------------------------------
>
>                 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
>            Reporter: Takashi Ohnishi
>            Assignee: Takashi Ohnishi
>         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)