bin> ./hdfs dfsrouteradmin -setQuota /src10 -nsQuota 3
Successfully set quota for mount point /src10
bin> ./hdfs dfsrouteradmin -clrQuota /src10
Successfully clear quota for mount point /src10
bin> ./hdfs dfs -put harsha /dest10/file1
bin> ./hdfs dfs -put harsha /dest10/file2
bin> ./hdfs dfs -put harsha /dest10/file3
put: The NameSpace quota (directories and files) of directory /dest10 is exceeded: quota=3 file count=4
bin> ./hdfs dfsrouteradmin -ls /src10
Mount Table Entries:
Source Destinations Owner Group Mode Quota/Usage
/src10 hacluster->/dest10 hdfs hadoop rwxr-xr-x [NsQuota: -/-, SsQuota: -/-]
bin>