SPARK-1767: Prefer HDFS-cached replicas when scheduling data-local tasks