How to set the replication factor for one file when it is uploaded by `hdfs dfs -put` command line in HDFS?
When uploading a file by the hdfs dfs -put command line in HDFS, how to set a replication factor instead of the global one for that file? For example, HDFS’s global replication factor is 3. For some temporary files, I would like to save just one copy for faster uploading and saving disk space. The…