You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Evans Ye (JIRA)" <ji...@apache.org> on 2015/01/29 04:02:34 UTC
[jira] [Issue Comment Deleted] (BIGTOP-1567) puppet cannot install
components whatever given to it
[ https://issues.apache.org/jira/browse/BIGTOP-1567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Evans Ye updated BIGTOP-1567:
-----------------------------
Comment: was deleted
(was: IIRC, that was for determining whether to transform components_tmp to an array
{code}
if is_array($components_tmp) {
{code}
Since originally, any2array will not automatically make an array for us from a *,* split-ed string,
thus we still need to split it by ourselves.)
> 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)