hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brahma Reddy Battula (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11432) Support fully qualified path for Quota/(allow/disallow)Snapshot
Date Mon, 20 Feb 2017 08:39:44 GMT

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

Brahma Reddy Battula commented on HDFS-11432:
---------------------------------------------

 *Basically all the path based commands should support fully qualified path*  
will address the following as part of this jira..Bytheway HDFS-11177 address the storagepolicyadmin


||Command||            Having Path||  Command Description||
|balancer|             No|			run a cluster balancing utility|
|cacheadmin|           Yes| 		configure the HDFS cache|
|classpath|            No| 		prints the class path needed to get the hadoop jar and the required
libraries|
|crypto|               Yes|		configure HDFS encryption zones|
|datanode|             No| 		run a DFS datanode|
|debug|                Yes| 		run a Debug Admin to execute HDFS debug commands|
|dfsadmin|             Yes| 		run a DFS admin client|
|dfs|                  Yes|		run a filesystem command on the file system|
|diskbalancer|         No| 		Distributes data evenly among disks on a given node|
|envvars|              No|   		display computed Hadoop environment variables|
|erasurecode|          Yes| 		run a HDFS ErasureCoding CLI|
|fetchdt|              Yes|		a delegation token from the NameNode|
|fsck|                 Yes| 		run a DFS filesystem checking utility|
|getconf|              No| 		get config values from configuration|
|groups|               No| 		get the groups which users belong to|
|haadmin|              Yes| 		run a DFS HA admin client|
|jmxget|               NA|			get JMX exported values from NameNode or DataNode.|
|journalnode|          NA|			run the DFS journalnode|
|lsSnapshottableDir|   No| 		list all snapshottable dirs owned by the current user|
|mover|                Yes| 		run a utility to move block replicas across storage types|
|namenode|             No| 		run the DFS namenode|
|nfs3|                 No|			run an NFS version 3 gateway|
|oev|                  NA| 		apply the offline edits viewer to an edits file|
|oiv|                  NA| 		apply the offline fsimage viewer to an fsimage|
|oiv_legacy|           NA| 		apply the offline fsimage viewer to a legacy fsimage|
|portmap|              NA| 		run a portmap service|
|secondarynamenode|    NA| 		run the DFS secondary namenode|
|snapshotDiff|         Yes| 		diff two snapshots of a directory or diff the current directory
contents with a snapshot|
|storagepolicies|      Yes| 		list/get/set block storage policies|
|version|              No| 		print the version|
|zkfc|                 NA| 		run the ZK Failover Controller daemon|

> 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
>
> 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message