[
https://issues.apache.org/jira/browse/BIGTOP-1567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14298906#comment-14298906
]
Evans Ye commented on BIGTOP-1567:
----------------------------------
I got your point now [~vishnu]. I'm pretty sure that to set default components
is a bug, since if the components has not being set, we'll turn $all to true
and install all the components (WTH I was doing?).
Usually it requires a patch to fix it. But now there is a work to shift
extlookup to hiera, which I found the guy might already fixed the bug for me;)
(checkout BIGTOP-1634)
It would be great if you can help to discover issues on top of that or send us
patches to improve it. Anyhow, thanks for catching this!
> 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
> Assignee: Evans Ye
> Priority: Critical
> Fix For: 0.9.0
>
> Attachments: BIGTOP-1567.1.patch
>
>
> The fix in BIGTOP-1553 introduce an issue that is variable {{$components}}
> will always be an 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)