​https://github.com/apache/spark.git​

替换为

​https://github.com.cnpmjs.org/apache/spark.git​

其他的:

​https://hub.fastgit.org/​​ https://github.wuyanzheshui.workers.dev/