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

Aaron T. Myers updated HDFS-3000:
---------------------------------

    Attachment: HDFS-3000.patch

Thanks a lot for the reviews, Daryn and Nicholas. Here's an updated patch which 
incorporates all of Nicholas's feedback.

bq. I'd suggest maybe adding a ctor that takes a filesystem instance. It user 
may want to use a custom configured filesystem, or avoid creation of another fs 
instance if the fs cache is disabled.

I didn't do this since in HDFS-3173 we will presumably be removing the 
DistributedFileSystem instance variable from the HdfsAdmin class, per 
Nicholas's suggestion above.

I'm going to go ahead and commit this since the changes since the last patch 
were all cosmetic or to javadocs.
                
> Add a public API for setting quotas
> -----------------------------------
>
>                 Key: HDFS-3000
>                 URL: https://issues.apache.org/jira/browse/HDFS-3000
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs client
>    Affects Versions: 2.0.0
>            Reporter: Aaron T. Myers
>            Assignee: Aaron T. Myers
>         Attachments: HDFS-3000.patch, HDFS-3000.patch, HDFS-3000.patch, 
> HDFS-3000.patch, HDFS-3000.patch
>
>
> Currently one can set the quota of a file or directory from the command line, 
> but if a user wants to set it programmatically, they need to use 
> DistributedFileSystem, which is annotated InterfaceAudience.Private.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to