[
https://issues.apache.org/jira/browse/BIGTOP-1567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Evans Ye updated BIGTOP-1567:
-----------------------------
Description:
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.
was:
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.
> 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)