You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Kevin W Monroe (JIRA)" <ji...@apache.org> on 2017/05/10 15:25:04 UTC
[jira] [Created] (BIGTOP-2764) deployment failure when roles
include spark::common and spark::yarn*
Kevin W Monroe created BIGTOP-2764:
--------------------------------------
Summary: deployment failure when roles include spark::common and spark::yarn*
Key: BIGTOP-2764
URL: https://issues.apache.org/jira/browse/BIGTOP-2764
Project: Bigtop
Issue Type: Bug
Components: deployment
Affects Versions: 1.2.0
Reporter: Kevin W Monroe
I use bigtop roles to control what gets deployed. When I include `spark-client` and `spark-on-yarn`, I get the following deployment failure:
{code}
unit-spark-0: 15:15:24 INFO unit.spark/0.config-changed Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Package[spark-datanucleus] is already declared in file /home/ubuntu/bigtop.release/bigtop-1.2.0/bigtop-deploy/puppet/modules/spark/manifests/init.pp:158; cannot redeclare at /home/ubuntu/bigtop.release/bigtop-1.2.0/bigtop-deploy/puppet/modules/spark/manifests/init.pp:132 at /home/ubuntu/bigtop.release/bigtop-1.2.0/bigtop-deploy/puppet/modules/spark/manifests/init.pp:132:5 on node machine-0.qnvvwf5bfm5uzgvdpofqo5megg.dx.internal.cloudapp.net
{code}
This is because the {{spark-datanucleus}} package is defined for both the common class:
https://github.com/apache/bigtop/blob/master/bigtop-deploy/puppet/modules/spark/manifests/init.pp#L158
and the yarn classes:
https://github.com/apache/bigtop/blob/master/bigtop-deploy/puppet/modules/spark/manifests/init.pp#L117
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)