[
https://issues.apache.org/jira/browse/BIGTOP-1567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14241359#comment-14241359
]
jay vyas commented on BIGTOP-1567:
----------------------------------
Nvm evans has the fix to recast it to a proper array for multi component. I'll
review it when it get attached.
> puppet cannot install components whatever given to it
> -----------------------------------------------------
>
> Key: BIGTOP-1567
> URL: https://issues.apache.org/jira/browse/BIGTOP-1567
> Project: Bigtop
> Issue Type: Bug
> Components: deployment
> Affects Versions: 0.8.0
> Reporter: Evans Ye
> Priority: Critical
> Fix For: 0.9.0
>
>
> The fix in BIGTOP-1553 introduce an issue that is variable {{$components}}
> always be a one item array.
> This can be identified by adding a quick evaluation snippet in
> {{bigtop/bigtop-deploy/puppet/manifests/cluster.pp}}:
> {code}
> fail("print component[0]: ${$components[0]}")
> {code}
> the output:
> {code}
> Error: print component[0]: hadoopyarnmapred-app at
> /bigtop-home/bigtop-deploy/puppet/manifests/cluster.pp:83 on node
> bigtop1.vagrant
> {code}
> Consequently, the following "if" statement for component installation will
> not be true because it can not match the specific string.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)