title: How can I change HDFS replication factor for my Spark program?
body: <p>I need to change the HDFS replication factor from 3 to 1 for my Spark program. While searching, I came up with the "spark.hadoop.dfs.replication" property, but by looking at <a href="https://spark.apache.org/docs/latest/configuration.html" rel="nofollow noreferrer">https://spark.apache.org/docs/latest/configuration.html</a>, it doesn't seem to exist anymore. So, how can I change the hdfs replication factor from my Spark program or using spark-submit?</p>