If data is present in HDFS and RF is defined, then how can we change Replication Factor?
Answer / Karan Singh Rayapa
To change the replication factor (RF) of a file already present in HDFS, you can use the 'setrep' command with the Hadoop FileSystem API. The syntax is: hadoop fs -setrep [-R] <replication-level> <path> where <replication-level> is the new replication factor and <path> is the path to the file or directory.
| Is This Answer Correct ? | 0 Yes | 0 No |
What do you mean by the High Availability of a NameNode in Hadoop HDFS?
How one can format Hadoop HDFS?
When NameNode enter in Safe Mode?
What is the throughput? How does hdfs give great throughput?
What is throughput? How does HDFS provide good throughput?
How can one set space quota in Hadoop (HDFS) directory?
Explain NameNode and DataNode in HDFS?
What is the optimal block size in HDFS?
What is secondary namenode? Is it a substitute or back up node for the namenode?
What is a block?
Can multiple clients write into an HDFS file concurrently in hadoop?
How to split single hdfs block into partitions rdd?
Apache Hadoop (394)
MapReduce (354)
Apache Hive (345)
Apache Pig (225)
Apache Spark (991)
Apache HBase (164)
Apache Flume (95)
Apache Impala (72)
Apache Cassandra (392)
Apache Mahout (35)
Apache Sqoop (82)
Apache ZooKeeper (65)
Apache Ambari (93)
Apache HCatalog (34)
Apache HDFS Hadoop Distributed File System (214)
Apache Kafka (189)
Apache Avro (26)
Apache Presto (15)
Apache Tajo (26)
Hadoop General (407)