[ https://issues.apache.org/jira/browse/BIGTOP-1488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14176530#comment-14176530 ]
stanley shi commented on BIGTOP-1488: ------------------------------------- Thanks, I will use grep to do this: curl --stderr /dev/null https://www.apache.org/dyn/closer.cgi?as_json=1 | grep preferred |cut -d '"' -f 4 > bigtop_toolchain hardcode the apache mirror sites for downloading maven > ----------------------------------------------------------------------- > > Key: BIGTOP-1488 > URL: https://issues.apache.org/jira/browse/BIGTOP-1488 > Project: Bigtop > Issue Type: Improvement > Components: build, general > Affects Versions: 0.8.0 > Reporter: stanley shi > > In the bigtop_toolchain module, the puppet modules use hardcoded apache > mirror sites to download component tar balls(for example, use > ftp://mirror.reverse.net/pub/apache/maven/maven-3/3.0.5/binaries/apache-maven-3.0.5-bin.tar.gz > to download maven). > In some cases the hardcoded mirror maybe very slow, causing the installation > to be very slow or even fail. > We can use the "www.apache.org/dyn/closer.cgi" to choose apache mirrors > automatically and faster the installatin. -- This message was sent by Atlassian JIRA (v6.3.4#6332)