Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How can one set space quota in Hadoop (HDFS) directory?



How can one set space quota in Hadoop (HDFS) directory?..

Answer / Aksh Vardhan

Space quotas can be set on a per-directory basis using the 'setquota' command. To do this, you first need to enable the Quota system by setting the following configuration properties in hdfs-site.xml: dfs.quotas.enabled=true, dfs.namenode.quotaprefs.root=hdfs://namenode/quota, and set the quota for a specific directory using the command: hadoop dfs -setquota <directory> <hardlimit(bytes)> <softlimit(bytes)>. If only one limit is provided, it will be considered as both hard and soft limits.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache HDFS Hadoop Distributed File System Interview Questions

Explain the hdfs architecture and list the various hdfs daemons in hdfs cluster?

1 Answers  


Why HDFS stores data using commodity hardware despite the higher chance of failures?

1 Answers  


Define hadoop archives? What is the command for archiving a group of files in hdfs.

1 Answers  


How much Metadata will be created on NameNode in Hadoop?

1 Answers  


What is secondary namenode? Is it a substitute or back up node for the namenode?

1 Answers  


Why is Reading done in parallel and writing is not in HDFS?

1 Answers  


Explain how indexing is done in hdfs?

1 Answers  


When NameNode enter in Safe Mode?

1 Answers  


Can you define a block and block scanner in hdfs?

1 Answers  


How does hdfs get a good throughput?

1 Answers  


Explain the difference between mapreduce engine and hdfs cluster?

1 Answers  


What is the difference between an hdfs block and input split?

1 Answers  


Categories