You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Konstantin Boudnik (JIRA)" <ji...@apache.org> on 2014/11/06 20:10:35 UTC
[jira] [Comment Edited] (BIGTOP-1488) bigtop_toolchain hardcode the
apache mirror sites for downloading maven
[ https://issues.apache.org/jira/browse/BIGTOP-1488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14200679#comment-14200679 ]
Konstantin Boudnik edited comment on BIGTOP-1488 at 11/6/14 7:09 PM:
---------------------------------------------------------------------
With patch {code}sudo puppet apply --modulepath=`pwd` -e "include bigtop_toolchain::ant"{code} fails
{noformat}
Could not autoload nearest_apache_mirror: /home/cos/workspaces/bigtop/bigtop_toolchain/lib/puppet/parser/functions/nearest_apache_mirror.rb:10: invalid regular expression; there's no previous pattern, to which '*' would define cardinality at 1: /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http:/
/home/cos/workspaces/bigtop/bigtop_toolchain/lib/puppet/parser/functions/nearest_apache_mirror.rb:12: syntax error, unexpected tSTAR, expecting '='
* Unless required by applicable law or agreed to in writing, software
^
/home/cos/workspaces/bigtop/bigtop_toolchain/lib/puppet/parser/functions/nearest_apache_mirror.rb:12: syntax error, unexpected kIN, expecting $end
* Unless required by applicable law or agreed to in writing, software
^ at /home/cos/workspaces/bigtop/bigtop_toolchain/manifests/deps.pp:19 on node tcos.sanr.wandisco.com
{noformat}
was (Author: cos):
With patch {code} sudo puppet apply --modulepath=`pwd` -e "include bigtop_toolchain::ant" {cpde} fails
{noformat}
Could not autoload nearest_apache_mirror: /home/cos/workspaces/bigtop/bigtop_toolchain/lib/puppet/parser/functions/nearest_apache_mirror.rb:10: invalid regular expression; there's no previous pattern, to which '*' would define cardinality at 1: /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http:/
/home/cos/workspaces/bigtop/bigtop_toolchain/lib/puppet/parser/functions/nearest_apache_mirror.rb:12: syntax error, unexpected tSTAR, expecting '='
* Unless required by applicable law or agreed to in writing, software
^
/home/cos/workspaces/bigtop/bigtop_toolchain/lib/puppet/parser/functions/nearest_apache_mirror.rb:12: syntax error, unexpected kIN, expecting $end
* Unless required by applicable law or agreed to in writing, software
^ at /home/cos/workspaces/bigtop/bigtop_toolchain/manifests/deps.pp:19 on node tcos.sanr.wandisco.com
{noformat}
> 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: Bug
> Components: build, general
> Affects Versions: 0.8.0
> Reporter: stanley shi
> Assignee: Newton Alex
> Attachments: BIGTOP-1488.v1.patch
>
>
> 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)