[ 
https://issues.apache.org/jira/browse/BIGTOP-1553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14233902#comment-14233902
 ] 

jay vyas edited comment on BIGTOP-1553 at 12/4/14 4:32 AM:
-----------------------------------------------------------

heres what i got so far, makes sense
?

needs cleanup but just pasting what i think is going to work.  testing now.

- uses any2array from puppet stdlib, to convert whatever components are to an 
array.
- declares the default components as *all* so that its explicit boolean value 
for installing full stack instead of that weird if predicate.
- adds comments about the mapred dependency if block.


was (Author: jayunit100):
heres what i got so far, makes sense
?

needs cleanup but just pasting what i think is going to work.  testing now

> puppet installation fails when components value is a single item instead of a 
> list
> ----------------------------------------------------------------------------------
>
>                 Key: BIGTOP-1553
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-1553
>             Project: Bigtop
>          Issue Type: Bug
>          Components: deployment
>    Affects Versions: 0.8.0
>            Reporter: Rob Leidle
>            Priority: Trivial
>             Fix For: backlog
>
>         Attachments: BIGTOP-1553.patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> If the value for components is a single value such as "hive" instead of a 
> list of values then the following error occurs:
> components is not an hash or array when accessing it with 0 at 
> /var/tmp/bigtop-0.8.0/bigtop-deploy/puppet/manifests/cluster.pp:123



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to