hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Chansler (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-3938) Quotas for disk space management
Date Tue, 26 Aug 2008 17:58:46 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-3938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12625808#action_12625808
] 

Robert Chansler commented on HADOOP-3938:
-----------------------------------------

Somewhat more subtle than R's comment, it would not be possible to create a file in a directory
with zero quota as creation requires that a block's-worth of quota is available. But one might
think of setting a zero quota on a directory with only zero-length files. In general, new
file creations can be prevented by setting a directory's byte quota to the sum of existing
file lengths, or the name quota to the number of existing files and directories.

Also, did you want to include the updated documentation in this patch?

> Quotas for disk space management
> --------------------------------
>
>                 Key: HADOOP-3938
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3938
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: dfs
>            Reporter: Robert Chansler
>            Assignee: Raghu Angadi
>             Fix For: 0.19.0
>
>         Attachments: HADOOP-3938.patch, hdfs_quota_admin_guide.pdf, hdfs_quota_admin_guide.xml
>
>
> Directory quotas for bytes limit the number of bytes used by files in and below the directory.
Operation is independent of name quotas (HADOOP-3187), but the implementation is parallel.
Each file is charged according to its length multiplied by its intended replication factor.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message