You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Evans Ye (JIRA)" <ji...@apache.org> on 2017/05/11 16:54:04 UTC
[jira] [Comment Edited] (BIGTOP-2764) deployment failure when roles
include spark::common and spark::yarn*
[ https://issues.apache.org/jira/browse/BIGTOP-2764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16006768#comment-16006768 ]
Evans Ye edited comment on BIGTOP-2764 at 5/11/17 4:53 PM:
-----------------------------------------------------------
Commented in https://github.com/apache/bigtop/pull/208.
Would love to see your PR here for me to rebase :)
was (Author: evans_ye):
Commented in https://github.com/apache/bigtop/pull/208.
Would love to see your PR her for me to rebase :)
> 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
> Assignee: Kevin W Monroe
> Fix For: 1.2.1
>
>
> 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)