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 to change the replication factor of data which is already stored in HDFS?



How to change the replication factor of data which is already stored in HDFS?..

Answer / Balram Singh

To change the replication factor for data that is already stored in HDFS, you can use the `dfs.replication` property in the Hadoop configuration. However, it's important to note that changing the replication factor for existing files will not take effect until a new namespace edit is created and applied. Here's an example of how to set the replication factor using the command line:

```bash
hadoop dfs -setfqpn /path/to/directory <replication-factor>
```
Replace `<replication-factor>` with the desired number of replicas, and `/path/to/directory` with the path to the directory or file for which you want to change the replication factor.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache HDFS Hadoop Distributed File System Interview Questions

How does data transfer happen from hdfs to hive?

1 Answers  


What is the difference between NAS and HDFS?

1 Answers  


how does hdfs ensure data integrity of data blocks stored in hadoop hdfs?

1 Answers  


What does hdfs mean?

1 Answers  


What do you mean by meta data in hdfs? List the files associated with metadata.

1 Answers  


What is a block in Hadoop HDFS? What should be the block size to get optimum performance from the Hadoop cluster?

1 Answers  


Can you explain heartbeat in hdfs?

1 Answers  


Since the data is replicated thrice in hdfs, does it mean that any calculation done on one node will also be replicated on the other two?

1 Answers  


How to create Users in hadoop HDFS?

1 Answers  


Explain the process that overwrites the replication factors in HDFS?

1 Answers  


Describe HDFS Federation?

1 Answers  


What should be the HDFS Block size to get maximum performance from Hadoop cluster?

1 Answers  


Categories