Member since
04-16-2018
6
Posts
1
Kudos Received
0
Solutions
05-17-2018
07:18 AM
It is a feature of Hadoop that it can tackle node failure. But how Namenode handles the Datanode failures?
... View more
Labels:
- Labels:
-
Apache Hadoop
05-17-2018
07:13 AM
Replication factor property is globally set in hdfs-site.xml, the default value is 3. The replication factor for the data stored in the HDFS can be modified by using the below command, Hadoop fs -setrep -R 5 /
Here replication factor is changed to 5 using –setrep command.
We can define the replication factor for a file or directory or an entire system by specifying the file or directory or an entire system in the above command
File:
hadoop fs –setrep –w 3 /my/file
Directory:
hadoop fs –setrep –w 3 -R /my/dir
... View more
05-16-2018
08:52 AM
I have stored my data in HDFS, now how can I change the replication factor?
... View more
Labels:
- Labels:
-
Apache Hadoop