Set persist to some parts of RDD.