Hi@akhtar,
You can change the default replication factor from the Client node. The client can decide what will the replication factor. So go to your Hadoop configuration folder in the client node. You need to set one property in the hdfs-site.xml file as shown below.
<property>
<name>dfs.replication</name>
<value>2</value>
</property>