Thanks for the clarification! It sounds like you should add a new datanode and then decommision the datanode that is on the master node. That way, you can ensure that the blocks always have a replication factor of 3. Also makes sure there aren’t any files that have a higher replication factor on the HDFS.
Hope this helps