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

Brahma Reddy Battula updated HDFS-11432:
----------------------------------------
    Attachment: HDFS-11432.patch

Uploading the initial patch..

Addressed for quota/snapshot/cryptoadmin/cacheadmin which are having path as 
mandatory.

Bytheway, as we know all commands will support {{"-fs"}} option(which will 
override the {{fs.defaultFS}} of client config),so user can dynamically 
provide(In this way commands doesn't have path also supported for dynamic 
nameserivce ).



> Support fully qualified path for Quota/(allow/disallow)Snapshot
> ---------------------------------------------------------------
>
>                 Key: HDFS-11432
>                 URL: https://issues.apache.org/jira/browse/HDFS-11432
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Brahma Reddy Battula
>            Assignee: Brahma Reddy Battula
>         Attachments: HDFS-11432.patch
>
>
> As of now, client needs to change "fs.defaultFS" to connect to specific name 
> service when cluster is federated cluster which will be inconvenient for user.
>  *Snapshot* 
> {noformat}
>  hdfs dfsadmin -allowSnapshot hdfs://hacluster/Dir1/snapdir2
> allowSnapshot: FileSystem viewfs://ClusterX/ is not an HDFS file system
> Usage: hdfs dfsadmin [-allowSnapshot <snapshotDir>]
> {noformat}
>  *Quota* 
> {noformat}
> hdfs dfsadmin -setQuota 10 hdfs://hacluster/Bulkload
> setQuota: FileSystem viewfs://ClusterX/ is not an HDFS file system
> Usage: hdfs dfsadmin [-setQuota <quota> <dirname>...<dirname>]
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to