Show Replication Factor of a File

1
hadoop fs -stat %r <YOUR_FILE_BLOCK>

Update Replication Factor of a File

1
hadoop fs -setrep -R -w 3 <YOUR_FILE_BLOCK>