HyukjinKwon edited a comment on issue #27307: [SPARK-30572][SPARK-30534][BUILD][FOLLOW-UP] Add a fallback repository as GCS URL: https://github.com/apache/spark/pull/27307#issuecomment-576951473 Okay, so the main argument to switch the order is: - `Maven Central` first `Google Maven Central` second is slow because the fallback would happen too many times in Github Actions. - `Google Maven Central` first `Maven Central` second is fast I don't mind switching the order either; however, I think I have another option: Why don't we just give a shot to switch the mirrors in `.github/workflows/master.yml`? Not sure if it works but I can test. ```xml <mirrors> <mirror> <id>another-central</id> <name>Maven Central</name> <url>https://repo.maven.apache.org/maven2</url> <mirrorOf>google-maven-central</mirrorOf> </mirror> <mirror> <id>another-google-maven-central</id> <name>Google Maven Central</name> <url>https://maven-central.storage.googleapis.com/repos/central/data/</url> <mirrorOf>central</mirrorOf> </mirror> </mirrors> ``` I don't like to list up the same repos twice which look a bit odd. For switching order, I think it's fine but in the way above, we can do it a bit more conservatively. This fallback issue seems specific to Github Actions and seems best to fix it for Github Actions specifically.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
